forked from drstrangecode/Geocaching_SampleProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGeocaching_SampleProject.cpp
More file actions
85 lines (64 loc) · 1.38 KB
/
Geocaching_SampleProject.cpp
File metadata and controls
85 lines (64 loc) · 1.38 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/**
* Name : Geocaching_SampleProject
* Version :
* Vendor :
* Description :
*/
#include "Geocaching_SampleProject.h"
#include "MainForm.h"
using namespace Osp::App;
using namespace Osp::Base;
using namespace Osp::System;
using namespace Osp::Ui;
using namespace Osp::Ui::Controls;
Geocaching_SampleProject::Geocaching_SampleProject()
{
}
Geocaching_SampleProject::~Geocaching_SampleProject()
{
}
Application*
Geocaching_SampleProject::CreateInstance(void)
{
return new Geocaching_SampleProject();
}
bool
Geocaching_SampleProject::OnAppInitializing(AppRegistry& appRegistry)
{
MainForm * mainForm = new MainForm();
mainForm->Initialize();
GetAppFrame()->GetFrame()->AddControl(*mainForm);
GetAppFrame()->GetFrame()->SetCurrentForm(*mainForm);
mainForm->Draw();
mainForm->Show();
return true;
}
bool
Geocaching_SampleProject::OnAppTerminating(AppRegistry& appRegistry, bool forcedTermination)
{
return true;
}
void
Geocaching_SampleProject::OnForeground(void)
{
}
void
Geocaching_SampleProject::OnBackground(void)
{
}
void
Geocaching_SampleProject::OnLowMemory(void)
{
}
void
Geocaching_SampleProject::OnBatteryLevelChanged(BatteryLevel batteryLevel)
{
}
void
Geocaching_SampleProject::OnScreenOn (void)
{
}
void
Geocaching_SampleProject::OnScreenOff (void)
{
}