summaryrefslogtreecommitdiff
path: root/src/plugins/totem-plugin-manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/totem-plugin-manager.h')
-rw-r--r--src/plugins/totem-plugin-manager.h78
1 files changed, 78 insertions, 0 deletions
diff --git a/src/plugins/totem-plugin-manager.h b/src/plugins/totem-plugin-manager.h
new file mode 100644
index 000000000..42463fb45
--- /dev/null
+++ b/src/plugins/totem-plugin-manager.h
@@ -0,0 +1,78 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
+ *
+ * heavily based on code from Rhythmbox and Gedit
+ *
+ * Copyright (C) 2002 Paolo Maggi and James Willcox
+ * Copyright (C) 2003-2005 Paolo Maggi
+ * Copyright (C) 2007 Bastien Nocera <hadess@hadess.net>
+ *
+ * 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.
+ *
+ * Monday 7th February 2005: Christian Schaller: Add excemption clause.
+ * See license_change file for details.
+ *
+ */
+
+#ifndef __TOTEM_PLUGIN_MANAGER_H__
+#define __TOTEM_PLUGIN_MANAGER_H__
+
+#include <gtk/gtk.h>
+
+G_BEGIN_DECLS
+
+/*
+ * Type checking and casting macros
+ */
+#define TOTEM_TYPE_PLUGIN_MANAGER (totem_plugin_manager_get_type())
+#define TOTEM_PLUGIN_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), TOTEM_TYPE_PLUGIN_MANAGER, TotemPluginManager))
+#define TOTEM_PLUGIN_MANAGER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), TOTEM_TYPE_PLUGIN_MANAGER, TotemPluginManager const))
+#define TOTEM_PLUGIN_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), TOTEM_TYPE_PLUGIN_MANAGER, TotemPluginManagerClass))
+#define TOTEM_IS_PLUGIN_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), TOTEM_TYPE_PLUGIN_MANAGER))
+#define TOTEM_IS_PLUGIN_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TOTEM_TYPE_PLUGIN_MANAGER))
+#define TOTEM_PLUGIN_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), TOTEM_TYPE_PLUGIN_MANAGER, TotemPluginManagerClass))
+
+/* Private structure type */
+typedef struct _TotemPluginManagerPrivate TotemPluginManagerPrivate;
+
+/*
+ * Main object structure
+ */
+typedef struct
+{
+ GtkVBox vbox;
+
+ /*< private > */
+ TotemPluginManagerPrivate *priv;
+} TotemPluginManager;
+
+/*
+ * Class definition
+ */
+typedef struct
+{
+ GtkVBoxClass parent_class;
+} TotemPluginManagerClass;
+
+/*
+ * Public methods
+ */
+GType totem_plugin_manager_get_type (void) G_GNUC_CONST;
+
+GtkWidget *totem_plugin_manager_new (void);
+
+G_END_DECLS
+
+#endif /* __TOTEM_PLUGIN_MANAGER_H__ */