diff options
author | Eitan Isaacson <eitan@monotonous.org> | 2011-05-28 13:09:00 -0700 |
---|---|---|
committer | Eitan Isaacson <eitan@monotonous.org> | 2011-05-28 13:09:00 -0700 |
commit | c7ceeb7a923e3d1eae2edc8050c52f27fca7fb53 (patch) | |
tree | f7b34e9adeb15d0536748a918ffc2c0cbf767fa5 /libcaribou/column-model.vala | |
parent | 19a05548084b345c96fe910442d89978e8bbcb2a (diff) | |
download | caribou-c7ceeb7a923e3d1eae2edc8050c52f27fca7fb53.tar.gz |
Implement scannable interfaces in keyboard model.
Diffstat (limited to 'libcaribou/column-model.vala')
-rw-r--r-- | libcaribou/column-model.vala | 9 |
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 (); + } } } |