summaryrefslogtreecommitdiff
path: root/mate-panel/panel-applet-info.h
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-05 17:38:52 +0300
committermonsta <[email protected]>2016-01-05 17:38:52 +0300
commit873cedbc95777e7b74960a66883c48945fcecd4c (patch)
tree39524147c0c851dca2f4b931afc7c435d6cd5779 /mate-panel/panel-applet-info.h
parentfbbc44144f21bcd332f4950bc19e8c73c8145f98 (diff)
downloadmate-panel-873cedbc95777e7b74960a66883c48945fcecd4c.tar.bz2
mate-panel-873cedbc95777e7b74960a66883c48945fcecd4c.tar.xz
rename mate-panel-*.{c|h} -> panel-*.{c|h} for consistency
(libmate-panel-applet files are left alone since there are public header files used by all panel applets)
Diffstat (limited to 'mate-panel/panel-applet-info.h')
-rw-r--r--mate-panel/panel-applet-info.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/mate-panel/panel-applet-info.h b/mate-panel/panel-applet-info.h
new file mode 100644
index 00000000..fafef8b5
--- /dev/null
+++ b/mate-panel/panel-applet-info.h
@@ -0,0 +1,51 @@
+/*
+ * 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., 51 Franklin St, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+
+#ifndef __PANEL_APPLET_INFO_H__
+#define __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 /* __PANEL_APPLET_INFO_H__ */