[gnome-flashback/wip/segeiger/inputmethods] input-sources: implement gf-input-source-manager stubs



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

    input-sources: implement gf-input-source-manager stubs

 .../libinput-sources/gf-input-source-manager.c     |  156 ++++++++++++++++++++
 .../libinput-sources/gf-input-source-manager.h     |   29 ++++
 2 files changed, 185 insertions(+), 0 deletions(-)
---
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..8acf5df
--- /dev/null
+++ b/gnome-flashback/libinput-sources/gf-input-source-manager.c
@@ -0,0 +1,156 @@
+/*
+ * 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 "gf-input-source-manager.h"
+#include "gf-ibus-manager.h"
+#include "gf-input-source.h"
+
+G_DEFINE_TYPE (GfInputSourceManager, gf_input_source_manager, G_TYPE_OBJECT)
+
+struct _GfInputSourceManager
+{
+    GObject parent;
+
+    GfInputSource *currentSource;
+    GList *inputSource;
+};
+
+
+GfInputSourceManager *
+gf_input_source_manager_new (void)
+{
+
+}
+
+static void
+gf_input_source_manager_reload (void)
+{
+
+}
+
+static void
+gf_input_source_manager_ready_callback (GfIBusManager* iBusManager, gboolean ready)
+{
+}
+
+static void
+gf_input_source_manager_modifiers_switch ()
+{
+
+}
+
+static void
+gf_input_source_manager_switch_input_source (void)
+{
+
+}
+
+static void
+gf_input_source_manager_keyboard_options_changed (void)
+{
+
+}
+
+static void
+gf_input_source_manager_current_input_source_changed (void)
+{
+
+}
+
+static void
+gf_input_source_manager_activate_input_source (void)
+{
+
+}
+
+static void
+gf_input_source_manager_input_sources_changed (void)
+{
+
+}
+
+static void
+gf_input_source_manager_make_engine_short_name (void)
+{
+
+}
+
+static void
+gf_input_source_manager_ibus_properties_registered (void)
+{
+
+}
+
+static void
+gf_input_source_manager_ibus_property_updated (void)
+{
+
+}
+
+static void
+gf_input_source_manager_update_sub_property (void)
+{
+
+}
+
+static void
+gf_input_source_manager_ibus_set_content_type (void)
+{
+
+}
+
+static void
+gf_input_source_manager_get_new_input_source (void)
+{
+
+}
+
+static void
+gf_input_source_manager_get_current_window (void)
+{
+
+}
+
+static void
+gf_input_source_manager_set_per_window_input_source (void)
+{
+
+}
+
+static void
+gf_input_source_manager_sources_per_window_changed (void)
+{
+
+}
+
+static void
+gf_input_source_manager_change_per_window_source (void)
+{
+
+}
+
+void
+gf_input_source_manager_get_current_source (GfInputSourceManager *manager)
+{
+    return manager->currentSource;
+}
+
+void
+gf_input_source_manager_input_sources (GfInputSourceManager *manager)
+{
+    return manager->inputSources;
+}
\ No newline at end of file
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]