aboutsummaryrefslogtreecommitdiff
path: root/src/user-prompt-box.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/user-prompt-box.vala')
-rw-r--r--src/user-prompt-box.vala36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/user-prompt-box.vala b/src/user-prompt-box.vala
new file mode 100644
index 0000000..9b285da
--- /dev/null
+++ b/src/user-prompt-box.vala
@@ -0,0 +1,36 @@
+/* -*- Mode: Vala; indent-tabs-mode: nil; tab-width: 4 -*-
+ *
+ * Copyright (C) 2011,2012 Canonical Ltd
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 3 as
+ * published by the Free Software Foundation.
+ *
+ * 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: Robert Ancell <robert.ancell@canonical.com>
+ * Michael Terry <michael.terry@canonical.com>
+ */
+
+public class UserPromptBox : PromptBox
+{
+ /* Background for this user */
+ public string background;
+
+ /* Default session for this user */
+ public string session;
+
+ /* True if should be marked as active */
+ public bool is_active;
+
+ public UserPromptBox (string name)
+ {
+ Object (id: name);
+ }
+}