[rygel/config] Make convenience methods public.



commit 1a01d642eff58ab40968e57cdee198e9a8958371
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Tue Apr 21 17:49:04 2009 +0300

    Make convenience methods public.
---
 src/rygel/rygel-config-reader.vala |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/rygel/rygel-config-reader.vala b/src/rygel/rygel-config-reader.vala
index 79d4ad9..e1918e2 100644
--- a/src/rygel/rygel-config-reader.vala
+++ b/src/rygel/rygel-config-reader.vala
@@ -55,9 +55,9 @@ public class Rygel.ConfigReader {
         return this.get_string (section, "UDN", new_udn);
     }
 
-    private string? get_string (string  section,
-                                string  key,
-                                string? default_value) {
+    public string? get_string (string  section,
+                               string  key,
+                               string? default_value) {
         string val;
         var path = ROOT_GCONF_PATH + section + "/" + key;
 
@@ -74,11 +74,11 @@ public class Rygel.ConfigReader {
         return val;
     }
 
-    private int get_int (string section,
-                         string key,
-                         int    min,
-                         int    max,
-                         int    default_value) {
+    public int get_int (string section,
+                        string key,
+                        int    min,
+                        int    max,
+                        int    default_value) {
         int val;
         var path = ROOT_GCONF_PATH + section + "/" + key;
 
@@ -95,9 +95,9 @@ public class Rygel.ConfigReader {
         return val;
     }
 
-    private bool get_bool (string section,
-                           string key,
-                           bool   default_value) {
+    public bool get_bool (string section,
+                          string key,
+                          bool   default_value) {
         bool val;
         var path = ROOT_GCONF_PATH + section + "/" + key;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]