From 414d5d9f8a41805ecec5808ace466c37d03fa9f3 Mon Sep 17 00:00:00 2001 From: William Hua Date: Wed, 2 Apr 2014 10:24:25 +1300 Subject: Switch to non-IBus input source when screen is locked. --- lib/unity-session.vala | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lib/unity-session.vala (limited to 'lib/unity-session.vala') diff --git a/lib/unity-session.vala b/lib/unity-session.vala new file mode 100644 index 00000000..04bf3349 --- /dev/null +++ b/lib/unity-session.vala @@ -0,0 +1,24 @@ +/* + * Copyright 2014 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 . + * + * Authors: William Hua + */ + +[DBus (name="com.canonical.Unity.Session")] +public interface UnitySession : Object { + + public signal void locked (); + public signal void unlocked (); +} -- cgit v1.2.3