summaryrefslogtreecommitdiff
path: root/mate-panel/mate-panel-applet-info.h
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-01 22:56:10 -0300
committerPerberos <[email protected]>2011-12-01 22:56:10 -0300
commitc51ef797a707f4e2c6f9688d4378f2b0e9898a66 (patch)
tree019ae92bb53c19b30077545cb14743cbd1b57aef /mate-panel/mate-panel-applet-info.h
downloadmate-panel-c51ef797a707f4e2c6f9688d4378f2b0e9898a66.tar.bz2
mate-panel-c51ef797a707f4e2c6f9688d4378f2b0e9898a66.tar.xz
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'mate-panel/mate-panel-applet-info.h')
-rw-r--r--mate-panel/mate-panel-applet-info.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/mate-panel/mate-panel-applet-info.h b/mate-panel/mate-panel-applet-info.h
new file mode 100644
index 00000000..264c0730
--- /dev/null
+++ b/mate-panel/mate-panel-applet-info.h
@@ -0,0 +1,51 @@
+/*
+ * mate-panel-applet-info.h
+ *
+ * Copyright (C) 2010 Carlos Garcia Campos <[email protected]>
+ * Copyright (C) 2010 Vincent Untz <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY 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, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
+
+#ifndef __MATE_PANEL_APPLET_INFO_H__
+#define __MATE_PANEL_APPLET_INFO_H__
+
+#include <glib.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct _MatePanelAppletInfo MatePanelAppletInfo;
+
+MatePanelAppletInfo *mate_panel_applet_info_new (const gchar *iid,
+ const gchar *name,
+ const gchar *comment,
+ const gchar *icon,
+ const gchar **old_ids);
+void mate_panel_applet_info_free (MatePanelAppletInfo *info);
+
+const gchar *mate_panel_applet_info_get_iid (MatePanelAppletInfo *info);
+const gchar *mate_panel_applet_info_get_name (MatePanelAppletInfo *info);
+const gchar *mate_panel_applet_info_get_description (MatePanelAppletInfo *info);
+const gchar *mate_panel_applet_info_get_icon (MatePanelAppletInfo *info);
+const gchar * const *mate_panel_applet_info_get_old_ids (MatePanelAppletInfo *info);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __MATE_PANEL_APPLET_INFO_H__ */