summaryrefslogtreecommitdiff
path: root/libcaribou/column-model.vala
diff options
context:
space:
mode:
authorEitan Isaacson <eitan@monotonous.org>2011-05-28 13:09:00 -0700
committerEitan Isaacson <eitan@monotonous.org>2011-05-28 13:09:00 -0700
commitc7ceeb7a923e3d1eae2edc8050c52f27fca7fb53 (patch)
treef7b34e9adeb15d0536748a918ffc2c0cbf767fa5 /libcaribou/column-model.vala
parent19a05548084b345c96fe910442d89978e8bbcb2a (diff)
downloadcaribou-c7ceeb7a923e3d1eae2edc8050c52f27fca7fb53.tar.gz
Implement scannable interfaces in keyboard model.
Diffstat (limited to 'libcaribou/column-model.vala')
-rw-r--r--libcaribou/column-model.vala9
1 files changed, 8 insertions, 1 deletions
diff --git a/libcaribou/column-model.vala b/libcaribou/column-model.vala
index c97b700..ffc5b2f 100644
--- a/libcaribou/column-model.vala
+++ b/libcaribou/column-model.vala
@@ -1,5 +1,8 @@
namespace Caribou {
- public class ColumnModel : Object {
+ public class ColumnModel : ScannableGroup, IScannableItem {
+ public bool scan_stepping { get; set; }
+ public bool scan_selected { get; set; }
+
Gee.ArrayList<KeyModel> keys;
public ColumnModel () {
@@ -21,5 +24,9 @@ namespace Caribou {
public KeyModel first_key () {
return keys.first();
}
+
+ public override IScannableItem[] get_scan_children () {
+ return (IScannableItem[]) get_keys ();
+ }
}
}