3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Flora License, Version 1.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.tizenopensource.org/license
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.
18 #ifndef _DRAWING_BOARD_H_
19 #define _DRAWING_BOARD_H_
23 #include <FGraphics.h>
32 public Osp::App::Application,
33 public Osp::System::IScreenEventListener,
34 public Osp::Base::Runtime::ITimerEventListener
37 static Osp::App::Application* CreateInstance(void);
42 virtual bool OnAppInitializing(Osp::App::AppRegistry& appRegistry);
43 virtual bool OnAppTerminating(Osp::App::AppRegistry& appRegistry, bool forcedTermination = false);
44 virtual void OnForeground(void);
45 virtual void OnBackground(void);
46 virtual void OnLowMemory(void);
47 virtual void OnBatteryLevelChanged(Osp::System::BatteryLevel batteryLevel);
48 virtual void OnTimerExpired(Osp::Base::Runtime::Timer& timer);
49 virtual void OnScreenOn(void);
50 virtual void OnScreenOff(void);
52 void ChangePainter(void);
56 Osp::Ui::Controls::Form* __pForm;
58 Osp::Base::Runtime::Timer* __pTimer;