Author: dfiser
Date: Tue Aug 28 13:59:33 2007
New Revision: 40533
URL: http://svn.opensuse.org/viewcvs/yast?rev=40533&view=rev
Log:
Added possibility to enable/disable service (bug #304271).
Changed some button labels.
Modified:
trunk/squid/src/Squid.ycp
trunk/squid/src/complex.ycp
trunk/squid/src/dialogs.ycp
trunk/squid/src/handlers.ycp
trunk/squid/src/wizards.ycp
Modified: trunk/squid/src/Squid.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/squid/src/Squid.ycp?rev=40533&r1=40532&r2=40533&view=diff
==============================================================================
--- trunk/squid/src/Squid.ycp (original)
+++ trunk/squid/src/Squid.ycp Tue Aug 28 13:59:33 2007
@@ -55,6 +55,12 @@
boolean modified = false;
/**
+ * Is service enabled?
+ */
+boolean service_enabled = false;
+
+
+/**
* Map of all configuration settings except consequential. Format:
* $[ "parameter name" : [ list of options (rest of line) ]
* ...
@@ -366,6 +372,18 @@
}
+/******* SERVICE *******/
+global boolean IsServiceEnabled()
+{
+ return service_enabled;
+}
+
+global void SetServiceEnabled(boolean enabled)
+{
+ service_enabled = enabled;
+}
+/******* SERVICE END **/
+
/******* ACL *******/
global list