1.Set as Contact fix 2.File size limit set to 255
[apps/osp/ImageViewer.git] / inc / IvSettingPresentationModel.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
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
7 //
8 //     http://floralicense.org/license/
9 //
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.
15 //
16
17 /**
18  * @file                IvSettingPresentationModel.h
19  * @brief               This is the header file for SettingPresentationModel class.
20  */
21
22 #ifndef _IV_SETTING_PRESENTATION_MODEL_H_
23 #define _IV_SETTING_PRESENTATION_MODEL_H_
24
25 class SettingPresentationModel
26 {
27 public:
28         result GetValue(const Tizen::Base::String& strSectionName, const Tizen::Base::String& entryName,
29                         int& value) const;
30
31         static SettingPresentationModel* GetInstance(void);
32
33 private:
34         SettingPresentationModel(void);
35         virtual ~SettingPresentationModel(void);
36         SettingPresentationModel(SettingPresentationModel& value);
37
38         result Construct(void);
39         result CreateDefaultRegistry(void);
40
41         static void CreateInstance(void);
42         static void DestroyInstance(void);
43
44         SettingPresentationModel& operator=(SettingPresentationModel&);
45
46 private:
47         static SettingPresentationModel* __pPresentationModelInstance;
48 };
49
50 #endif /* _IV_SETTING_PRESENTATION_MODEL_H_ */