~do-win/do/test-paths

« back to all changes in this revision

Viewing changes to Do.Platform.Windows/src/Do.Platform/Do.Platform.Windows/GConfPreferencesService.cs

  • Committer: Hardeep S
  • Date: 2009-06-23 20:13:50 UTC
  • Revision ID: ootz0rz@gmail.com-20090623201350-pxjo5vt6yyt1xz3i
remove the need for GConf

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
{       
26
26
        public class GConfPreferencesService : IPreferencesService
27
27
        {
 
28
                /*
28
29
                const string ApplicationRootPath = "/apps/gnome-do/preferences";
29
30
 
30
31
                GConf.Client client;
81
82
                }
82
83
 
83
84
                #endregion
 
85
                 * */
 
86
 
 
87
                const string ApplicationRootPath = "/apps/gnome-do/preferences";
 
88
 
 
89
                public GConfPreferencesService ()
 
90
                        : this (ApplicationRootPath)
 
91
                {
 
92
                }
 
93
 
 
94
                public GConfPreferencesService (string rootPath)
 
95
                {
 
96
                }
 
97
 
 
98
                #region IPreferencesService Members
 
99
 
 
100
                public bool Set<T> (string key, T val)
 
101
                {
 
102
                        return true;
 
103
                }
 
104
 
 
105
                public bool TryGet<T> (string key, out T val)
 
106
                {
 
107
                        val = default(T);
 
108
                        return true;
 
109
                }
 
110
 
 
111
                #endregion
84
112
        }
85
113
}