[gnome-flashback/wip/segeiger/inputmethods: 2/8] input-sources: add GfInputSourceManager, unimplemented



commit 590a55cd7f15f1812d0b95a7cee19acf01e9926b
Author: Sebastian Geiger <sbastig gmx net>
Date:   Fri Sep 18 02:59:59 2015 +0200

    input-sources: add GfInputSourceManager, unimplemented

 gnome-flashback/libinput-sources/Makefile.am       |    2 +
 .../libinput-sources/gf-input-source-manager.c     |   43 ++++++++++++++++++++
 .../libinput-sources/gf-input-source-manager.h     |   29 +++++++++++++
 3 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libinput-sources/Makefile.am b/gnome-flashback/libinput-sources/Makefile.am
index d454529..cd589b8 100644
--- a/gnome-flashback/libinput-sources/Makefile.am
+++ b/gnome-flashback/libinput-sources/Makefile.am
@@ -18,6 +18,8 @@ libinput_sources_la_SOURCES = \
        gf-ibus-manager.h \
        gf-input-sources.c \
        gf-input-sources.h \
+       gf-input-source-manager.c \
+       gf-input-source-manager.h \
        $(NULL)
 
 libinput_sources_la_LDFLAGS = \
diff --git a/gnome-flashback/libinput-sources/gf-input-source-manager.c 
b/gnome-flashback/libinput-sources/gf-input-source-manager.c
new file mode 100644
index 0000000..1afdb7b
--- /dev/null
+++ b/gnome-flashback/libinput-sources/gf-input-source-manager.c
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2015 Sebastian Geiger
+ *
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "config.h"
+
+#include "gf-input-source-manager.h"
+
+struct _GfInputSourceManager
+{
+  GObject parent;
+};
+
+G_DEFINE_TYPE (GfInputSourceManager, gf_input_source_manager, G_TYPE_OBJECT)
+
+static void
+gf_input_source_manager_class_init (GfInputSourceManagerClass *managerClass)
+{
+}
+
+static void
+gf_input_source_manager_init (GfInputSourceManager *manager)
+{
+}
+
+GfInputSourceManager *
+gf_input_source_manager_new (void)
+{
+  return g_object_new (GF_TYPE_INPUT_SOURCE_MANAGER, NULL);
+}
diff --git a/gnome-flashback/libinput-sources/gf-input-source-manager.h 
b/gnome-flashback/libinput-sources/gf-input-source-manager.h
new file mode 100644
index 0000000..b673456
--- /dev/null
+++ b/gnome-flashback/libinput-sources/gf-input-source-manager.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2015 Sebastian Geiger
+ *
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef GF_INPUT_SOURCE_MANAGER_H
+#define GF_INPUT_SOURCE_MANAGER_H
+
+#include <glib-object.h>
+
+#define GF_TYPE_INPUT_SOURCE_MANAGER gf_input_source_manager_get_type ()
+G_DECLARE_FINAL_TYPE (GfInputSourceManager, gf_input_source_manager,
+                      GF, INPUT_SOURCE_MANAGER, GObject)
+
+GfInputSourceManager *gf_input_source_manager_new (void);
+
+#endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]