aboutsummaryrefslogtreecommitdiff
path: root/lib/greeter.vala
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-09-30 09:45:06 -0400
committerWilliam Hua <william.hua@canonical.com>2013-09-30 09:45:06 -0400
commit292ca060720c47dabfe938ea64abcf0ea243887b (patch)
tree3c7ae7c97be5fd14b14b0380d7e142364e6efe68 /lib/greeter.vala
parente081bed515c52f2a5f975e870c509087aea4b2a3 (diff)
downloadayatana-indicator-keyboard-292ca060720c47dabfe938ea64abcf0ea243887b.tar.gz
ayatana-indicator-keyboard-292ca060720c47dabfe938ea64abcf0ea243887b.tar.bz2
ayatana-indicator-keyboard-292ca060720c47dabfe938ea64abcf0ea243887b.zip
Set initial layout whenever user is switched in unity-greeter.
Diffstat (limited to 'lib/greeter.vala')
-rw-r--r--lib/greeter.vala25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/greeter.vala b/lib/greeter.vala
new file mode 100644
index 00000000..43c1531d
--- /dev/null
+++ b/lib/greeter.vala
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2013 Canonical Ltd.
+ *
+ * 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, version 3 of the License.
+ *
+ * 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/>.
+ *
+ * Authors: William Hua <william.hua@canonical.com>
+ */
+
+[DBus (name="com.canonical.UnityGreeter.List")]
+public interface Greeter : Object {
+
+ public abstract void set_active_entry (string entry_name) throws IOError;
+
+ public signal void entry_selected (string entry_name);
+}