[vinagre/no-separate-plugins: 2/11] Add static extension support
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vinagre/no-separate-plugins: 2/11] Add static extension support
- Date: Sat, 11 Jun 2011 13:54:40 +0000 (UTC)
commit 89f7d31da7835dd30d082b42fda1676861c4791c
Author: David King <amigadave amigadave com>
Date: Fri Jun 10 20:09:26 2011 +0200
Add static extension support
Makefile.am | 2 +
vinagre/vinagre-static-extension.c | 32 ++++++++++++++++++++++
vinagre/vinagre-static-extension.h | 51 ++++++++++++++++++++++++++++++++++++
3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d3484dc..e9f26c0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,6 +66,7 @@ vinagreh_HEADERS = \
vinagre/vinagre-fav.h \
vinagre/vinagre-notebook.h \
vinagre/vinagre-prefs.h \
+ vinagre/vinagre-static-extension.h \
vinagre/vinagre-tab.h \
vinagre/vinagre-ui.h \
vinagre/vinagre-window.h \
@@ -102,6 +103,7 @@ handwritten_sources = \
vinagre/vinagre-notebook.c \
vinagre/vinagre-plugin-dialog.c \
vinagre/vinagre-prefs.c \
+ vinagre/vinagre-static-extension.c \
vinagre/vinagre-tab.c \
vinagre/vinagre-utils.vala \
vinagre/vinagre-window.c \
diff --git a/vinagre/vinagre-static-extension.c b/vinagre/vinagre-static-extension.c
new file mode 100644
index 0000000..5f3b460
--- /dev/null
+++ b/vinagre/vinagre-static-extension.c
@@ -0,0 +1,32 @@
+/*
+ * vinagre-static-extension.c
+ * This file is part of vinagre
+ *
+ * vinagre-static-extension.c 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.
+ *
+ * vinagre-static-extension.h 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "vinagre-static-extension.h"
+
+G_DEFINE_TYPE (VinagreStaticExtension, vinagre_static_extension, G_TYPE_OBJECT);
+
+static void
+vinagre_static_extension_class_init (VinagreStaticExtensionClass * klass)
+{
+ vinagre_static_extension_parent_class = g_type_class_peek_parent (klass);
+}
+
+static void
+vinagre_static_extension_init (VinagreStaticExtension * self)
+{
+}
diff --git a/vinagre/vinagre-static-extension.h b/vinagre/vinagre-static-extension.h
new file mode 100644
index 0000000..7850c19
--- /dev/null
+++ b/vinagre/vinagre-static-extension.h
@@ -0,0 +1,51 @@
+/*
+ * vinagre-static-extension.h
+ * This file is part of vinagre
+ *
+ * vinagre-static-extension.h 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.
+ *
+ * vinagre-static-extension.h 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef VINAGRE_STATIC_EXTENSION_H_
+#define VINAGRE_STATIC_EXTENSION_H_
+
+#include <glib.h>
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+#define VINAGRE_TYPE_STATIC_EXTENSION (vinagre_static_extension_get_type ())
+#define VINAGRE_STATIC_EXTENSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VINAGRE_TYPE_STATIC_EXTENSION, VinagreStaticExtension))
+#define VINAGRE_STATIC_EXTENSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VINAGRE_TYPE_STATIC_EXTENSION, VinagreStaticExtensionClass))
+#define VINAGRE_IS_STATIC_EXTENSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VINAGRE_TYPE_STATIC_EXTENSION))
+#define VINAGRE_IS_STATIC_EXTENSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VINAGRE_TYPE_STATIC_EXTENSION))
+#define VINAGRE_STATIC_EXTENSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VINAGRE_TYPE_STATIC_EXTENSION, VinagreStaticExtensionClass))
+
+typedef struct _VinagreStaticExtension VinagreStaticExtension;
+typedef struct _VinagreStaticExtensionClass VinagreStaticExtensionClass;
+typedef struct _VinagreStaticExtensionPrivate VinagreStaticExtensionPrivate;
+
+struct _VinagreStaticExtension {
+ GObject parent_instance;
+ VinagreStaticExtensionPrivate * priv;
+};
+
+struct _VinagreStaticExtensionClass {
+ GObjectClass parent_class;
+};
+
+GType vinagre_static_extension_get_type (void) G_GNUC_CONST;
+
+G_END_DECLS
+
+#endif /* VINAGRE_STATIC_EXTENSION_H_ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]