2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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 GlSettingPresentationModel.h
19 * @brief This is the header file for SettingPresentationModel class.
22 #ifndef _GL_SETTING_PRESENTATION_MODEL_H_
23 #define _GL_SETTING_PRESENTATION_MODEL_H_
28 class SettingPresentationModel
29 : public Tizen::Base::Object
32 static SettingPresentationModel* GetInstance(void);
35 result GetValue(const Tizen::Base::String& strSectionName, const Tizen::Base::String& entryName,
37 result GetValue(const Tizen::Base::String& strSectionName, const Tizen::Base::String& entryName,
38 Tizen::Base::String& value) const;
39 result SetValue(const Tizen::Base::String& strSectionName, const Tizen::Base::String& entryName, int value);
40 result SetValue(const Tizen::Base::String& strSectionName, const Tizen::Base::String& entryName,
41 const Tizen::Base::String& value);
44 SettingPresentationModel(void);
45 virtual ~SettingPresentationModel(void);
46 SettingPresentationModel(SettingPresentationModel& value);
47 SettingPresentationModel& operator=(SettingPresentationModel&);
49 result Construct(void);
50 static void CreateInstance(void);
51 static void DestroyInstance(void);
53 result CreateDefaultRegistry(void);
56 Tizen::Io::Registry* __pDefaultGalleryRegistry;
57 static SettingPresentationModel* __pPresentationModelInstance;
60 #endif /* _GL_SETTING_PRESENTATION_MODEL_H_ */