gnome-scan r661 - in trunk: . lib
- From: bersace svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-scan r661 - in trunk: . lib
- Date: Fri, 12 Dec 2008 19:51:34 +0000 (UTC)
Author: bersace
Date: Fri Dec 12 19:51:34 2008
New Revision: 661
URL: http://svn.gnome.org/viewvc/gnome-scan?rev=661&view=rev
Log:
Add bool node option.
Modified:
trunk/ChangeLog
trunk/lib/gnome-scan-option.vala
Modified: trunk/lib/gnome-scan-option.vala
==============================================================================
--- trunk/lib/gnome-scan-option.vala (original)
+++ trunk/lib/gnome-scan-option.vala Fri Dec 12 19:51:34 2008
@@ -50,4 +50,19 @@
public OptionHint hint {get; set construct;}
public bool active {get; set; default = true;}
}
+
+ public class OptionBool : Option {
+ public bool value {set; get;}
+
+ public OptionBool(string name, string title, string desc, string domain, string group, bool value, OptionHint hint)
+ {
+ this.name = name;
+ this.title = title;
+ this.desc = desc;
+ this.domain = domain;
+ this.group = group;
+ this.value = value;
+ this.hint = hint;
+ }
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]