aboutsummaryrefslogtreecommitdiff
path: root/src/im-desktop-menu.h
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-08-13 09:43:22 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-08-13 09:43:22 +0200
commit046ef6f5581ab2634d5ef097e6c449316c2404bf (patch)
treebbcbc8b9943b39d10e055d9ea469bb51a385e2d0 /src/im-desktop-menu.h
parent0b24c6a91ff91400568cab9b4d192a0a85db918e (diff)
downloadayatana-indicator-messages-046ef6f5581ab2634d5ef097e6c449316c2404bf.tar.gz
ayatana-indicator-messages-046ef6f5581ab2634d5ef097e6c449316c2404bf.tar.bz2
ayatana-indicator-messages-046ef6f5581ab2634d5ef097e6c449316c2404bf.zip
Add desktop menu
Only shows application launchers right now.
Diffstat (limited to 'src/im-desktop-menu.h')
-rw-r--r--src/im-desktop-menu.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/im-desktop-menu.h b/src/im-desktop-menu.h
new file mode 100644
index 0000000..9469ea6
--- /dev/null
+++ b/src/im-desktop-menu.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2013 Canonical Ltd.
+ *
+ * This program is free software: you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 3, as published
+ * by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranties of
+ * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Authors:
+ * Lars Uebernickel <lars.uebernickel@canonical.com>
+ */
+
+#ifndef __IM_DESKTOP_MENU_H__
+#define __IM_DESKTOP_MENU_H__
+
+#include "im-menu.h"
+
+#define IM_TYPE_DESKTOP_MENU (im_desktop_menu_get_type ())
+#define IM_DESKTOP_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), IM_TYPE_DESKTOP_MENU, ImDesktopMenu))
+#define IM_IS_DESKTOP_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), IM_TYPE_DESKTOP_MENU))
+
+typedef struct _ImDesktopMenu ImDesktopMenu;
+
+GType im_desktop_menu_get_type (void);
+
+ImDesktopMenu * im_desktop_menu_new (ImApplicationList *applist);
+
+#endif