2 // Copyright (c) 2012-2013 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 OspAppWidgetService.cpp
19 * @brief This is the implementation for the OspAppWidgetService class.
22 #include "FShell_AppWidgetManagerService.h"
23 #include "OspAppWidgetService.h"
25 using namespace Tizen::App;
26 using namespace Tizen::Base;
27 using namespace Tizen::System;
28 using namespace Tizen::Shell::App;
30 OspAppWidgetService::OspAppWidgetService(void)
34 OspAppWidgetService::~OspAppWidgetService(void)
39 OspAppWidgetService::CreateInstance(void)
41 // Create the instance through the constructor.
42 return new (std::nothrow) OspAppWidgetService();
46 OspAppWidgetService::OnAppInitializing(AppRegistry& appRegistry)
50 AppWidgetManagerService* pSvc = AppWidgetManagerService::GetInstance();
51 AppAssertf( pSvc != null, "AppWidgetManagerService::GetInstance() failed.");
57 OspAppWidgetService::OnAppInitialized(void)
63 OspAppWidgetService::OnAppWillTerminate(void)
69 OspAppWidgetService::OnAppTerminating(AppRegistry& appRegistry, bool forcedTermination)
75 OspAppWidgetService::OnLowMemory(void)
80 OspAppWidgetService::OnBatteryLevelChanged(BatteryLevel batteryLevel)