2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 * @file FSys_SettingScreenProvider.h
19 * @brief This is the header file for the %_SettingScreenProvider class.
21 * This header file contains the declarations of the %_SettingScreenProvider class.
24 #ifndef _FSYS_SETTING_SCREEN_PROVIDER_H_
25 #define _FSYS_SETTING_SCREEN_PROVIDER_H_
28 #include <system/system_settings.h>
30 #include "FSys_ISettingProvider.h"
32 namespace Tizen { namespace System
35 class _SettingScreenProvider
36 : virtual public Tizen::System::_ISettingProvider
39 _SettingScreenProvider();
40 virtual ~_SettingScreenProvider();
43 result GetValue(const Tizen::Base::String& key, bool& value);
44 result SetValue(const Tizen::Base::String& key, const bool value);
46 result GetValue(const Tizen::Base::String& key, int& value);
47 result SetValue(const Tizen::Base::String& key, const int value);
49 result GetValue(const Tizen::Base::String& key, Tizen::Base::String& value);
50 result SetValue(const Tizen::Base::String& key, const Tizen::Base::String value);
52 bool HasKey(const Tizen::Base::String& key);
54 static void SettingEventVConf(keynode_t* node, void* userData);
55 static void SettingEventSettingInfo(system_settings_key_e key, void* userData);
56 }; // _SettingScreenProvider
60 #endif // _FSYS_ISETTING_SCREEN_PROVIDER_H_