2 // Open Service Platform
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FApp_ThemeInfo.h
20 * @brief This is the header file for the %_ThemeInfo class.
23 #ifndef _FAPP_INTERNAL_THEME_INFO_H_
24 #define _FAPP_INTERNAL_THEME_INFO_H_
26 #include <FBaseString.h>
28 using namespace Tizen::Base;
30 namespace Tizen { namespace App
36 * @brief This class handles the application theme information
38 * This class handles the theme
44 * Get the application theme
46 static result LoadThemeInformation(String& systemTheme, String& userTheme);
50 * This is the default constructor for this class.
55 * This is the destructor for this class.
60 * This is the copy constructor for the this class.
62 _ThemeInfo(const _ThemeInfo& value);
65 * This is the assignment operator for this class.
67 _ThemeInfo& operator =(const _ThemeInfo& value);
70 * Get the application theme from info file
72 static result LoadThemeInfoFromInfoFile(String& systemTheme, String& userTheme);
75 * Get the application theme from database
77 static result LoadThemeInfoFromDatabase(String& systemTheme, String& userTheme);
83 #endif // _FAPP_INTERNAL_THEME_INFO_H_