aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.vala
blob: 9af52d1a0210eeee300bed1e40c20c36ac8810f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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";
 	const string DBUSMENU_TRANSPORT_MENUITEM_STATE = "x-canonical-transport-state";

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

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