aboutsummaryrefslogtreecommitdiff
path: root/lib/unity-greeter.vala
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unity-greeter.vala')
-rw-r--r--lib/unity-greeter.vala26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/unity-greeter.vala b/lib/unity-greeter.vala
new file mode 100644
index 00000000..2cdfe05c
--- /dev/null
+++ b/lib/unity-greeter.vala
@@ -0,0 +1,26 @@
+/*
+ * 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 UnityGreeter : Object {
+
+ public abstract string get_active_entry () throws IOError;
+ public abstract void set_active_entry (string entry_name) throws IOError;
+
+ public signal void entry_selected (string entry_name);
+}