2 // Open Service Platform
3 // Copyright (c) 2012 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 CertificateSelectorApp.h
20 * @brief This is the header file for the %CertificateSelectorApp class.
22 * This header file contains the declarations of the %CertificateSelectorApp class.
25 #ifndef _CERTIFICATE_SELECTOR_APP_H_
26 #define _CERTIFICATE_SELECTOR_APP_H_
28 #include <FAppUiApp.h>
29 #include <FSysIScreenEventListener.h>
30 #include <FSysPowerManager.h>
31 #include <FAppIAppControlProviderEventListener.h>
33 namespace Tizen { namespace App {
37 class CertificateSelectorApp
38 : public Tizen::App::UiApp
39 , public Tizen::System::IScreenEventListener
40 , public Tizen::App::IAppControlProviderEventListener
43 CertificateSelectorApp(void);
44 virtual~CertificateSelectorApp(void);
46 static Tizen::App::UiApp* CreateInstance(void);
48 virtual bool OnAppInitializing(Tizen::App::AppRegistry& appRegistry);
49 virtual bool OnAppInitialized(void);
50 virtual bool OnAppWillTerminate(void);
51 virtual bool OnAppTerminating(Tizen::App::AppRegistry& appRegistry, bool forcedTermination = false);
52 virtual void OnForeground(void);
53 virtual void OnBackground(void);
54 virtual void OnLowMemory(void);
55 virtual void OnBatteryLevelChanged(Tizen::System::BatteryLevel batteryLevel);
56 virtual void OnScreenOn(void);
57 virtual void OnScreenOff(void);
58 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);
64 #endif // _CERTIFICATE_SELECTOR_APP_H_