remove unnecessary codes
[framework/osp/appwidget-service.git] / src / OspAppWidgetService.cpp
1 //
2 // Copyright (c) 2012-2013 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        OspAppWidgetService.cpp
19  * @brief       This is the implementation for the OspAppWidgetService class.
20  */
21
22 #include "FShell_AppWidgetManagerService.h"
23 #include "OspAppWidgetService.h"
24
25 using namespace Tizen::App;
26 using namespace Tizen::Base;
27 using namespace Tizen::System;
28 using namespace Tizen::Shell::App;
29
30 OspAppWidgetService::OspAppWidgetService(void)
31 {
32 }
33
34 OspAppWidgetService::~OspAppWidgetService(void)
35 {
36 }
37
38 ServiceApp*
39 OspAppWidgetService::CreateInstance(void)
40 {
41         // Create the instance through the constructor.
42         return new (std::nothrow) OspAppWidgetService();
43 }
44
45 bool
46 OspAppWidgetService::OnAppInitializing(AppRegistry& appRegistry)
47 {
48         AppLog("Enter.");
49
50         AppWidgetManagerService* pSvc = AppWidgetManagerService::GetInstance();
51         AppAssertf( pSvc != null, "AppWidgetManagerService::GetInstance() failed.");
52
53         return true;
54 }
55
56 bool
57 OspAppWidgetService::OnAppInitialized(void)
58 {
59         return true;
60 }
61
62 bool
63 OspAppWidgetService::OnAppWillTerminate(void)
64 {
65         return true;
66 }
67
68 bool
69 OspAppWidgetService::OnAppTerminating(AppRegistry& appRegistry, bool forcedTermination)
70 {
71         return true;
72 }
73
74 void
75 OspAppWidgetService::OnLowMemory(void)
76 {
77 }
78
79 void
80 OspAppWidgetService::OnBatteryLevelChanged(BatteryLevel batteryLevel)
81 {
82 }