aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.vala
blob: 11120b074833982b501aeaf1d9562e498acd85d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using Dbusmenu;
using Gee;

public class TransportMenuItem : Dbusmenu.Menuitem
{
	/* Not ideal duplicate definition of const - see common-defs/h */
 	const string DBUSMENU_TRANSPORT_MENUITEM_TYPE = "x-canonical-transport-bar";

	public TransportMenuItem()
  {
		this.property_set(MENUITEM_PROP_TYPE, DBUSMENU_TRANSPORT_MENUITEM_TYPE); 			
	}

	public override void handle_event(string name, GLib.Value input_value, uint timestamp)
	{
		debug("TransportItem -> handle event caught!");
	}
	
}