Menu

[b84aab]: / src / platform / tizen / application.h  Maximize  Restore  History

Download this file

55 lines (44 with data), 1.3 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// This file is part of SmallBASIC
//
// Copyright(C) 2001-2013 Chris Warren-Smith.
//
// This program is distributed under the terms of the GPL v2.0 or later
// Download the GNU Public License (GPL) from www.gnu.org
//
#ifndef TIZEN_APPLICATION_H
#define TIZEN_APPLICATION_H
#include <FBase.h>
#include <FApp.h>
#include <FGraphics.h>
#include <FUi.h>
#include <FSystem.h>
#include "platform/tizen/form.h"
using namespace Tizen::App;
using namespace Tizen::System;
using namespace Tizen::Ui;
using namespace Tizen::Ui::Controls;
using namespace Tizen::Base::Collection;
class TizenApp :
public UiApp,
public IScreenEventListener {
public:
TizenApp();
~TizenApp();
static UiApp *createInstance(void);
private:
bool OnAppInitializing(AppRegistry &appRegistry);
bool OnAppInitialized(void);
bool OnAppWillTerminate(void);
bool OnAppTerminating(AppRegistry &appRegistry, bool forcedTermination = false);
void OnLowMemory(void);
void OnBatteryLevelChanged(BatteryLevel batteryLevel);
void OnUserEventReceivedN(RequestId requestId, IList *args);
void OnForeground(void);
void OnBackground(void);
void OnScreenOn(void);
void OnScreenOff(void);
void OnScreenBrightnessChanged(int brightness);
void pauseRuntime(bool pause);
AppForm *_appForm;
};
#endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.