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 StSettingsApp.h
19 * @brief This is the header file for SettingsApp class.
22 #ifndef _ST_SETTINGS_APP_H_
23 #define _ST_SETTINGS_APP_H_
31 : public Tizen::App::UiApp
32 , public Tizen::App::IAppControlProviderEventListener
33 , public Tizen::System::IScreenEventListener
37 virtual ~SettingsApp(void);
39 static Tizen::App::UiApp* CreateInstance(void);
41 RequestId GetRequestId(void);
42 Tizen::Ui::Scenes::SceneId GetInitialSceneId(void);
43 Tizen::Base::Collection::IList* GetArguments(void);
45 bool OnAppInitializing(Tizen::App::AppRegistry& appRegistry);
46 bool OnAppInitialized(void);
47 bool OnAppWillTerminate(void);
48 bool OnAppTerminating(Tizen::App::AppRegistry& appRegistry, bool forcedTermination = false);
49 void OnForeground(void);
50 void OnBackground(void);
51 void OnLowMemory(void);
52 void OnBatteryLevelChanged(Tizen::System::BatteryLevel batteryLevel);
53 void OnScreenOn(void);
54 void OnScreenOff(void);
56 virtual void OnAppControlRequestReceived(RequestId reqId, const Tizen::Base::String& operationId, const Tizen::Base::String* pUriData, const Tizen::Base::String* pMimeType, const Tizen::Base::Collection::IMap* pExtraData);
59 Tizen::Ui::Scenes::SceneId __initialSceneId;
60 Tizen::Base::Collection::IList* __pArgs;
61 RequestId __requestId;
64 #endif // _ST_SETTINGS_APP_H_