Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bada/Sloynik/inc/Sloynik.h')
-rw-r--r--bada/Sloynik/inc/Sloynik.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/bada/Sloynik/inc/Sloynik.h b/bada/Sloynik/inc/Sloynik.h
new file mode 100644
index 0000000000..132b3bdfb6
--- /dev/null
+++ b/bada/Sloynik/inc/Sloynik.h
@@ -0,0 +1,60 @@
+#ifndef _SLOYNIK_H_
+#define _SLOYNIK_H_
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FSystem.h>
+#include <FUi.h>
+
+/**
+ * [Sloynik] application must inherit from Application class
+ * which provides basic features necessary to define an application.
+ */
+class Sloynik :
+ public Osp::App::Application,
+ public Osp::System::IScreenEventListener
+{
+public:
+
+ /**
+ * [Sloynik] application must have a factory method that creates an instance of itself.
+ */
+ static Osp::App::Application* CreateInstance(void);
+
+
+public:
+ Sloynik();
+ ~Sloynik();
+
+
+public:
+
+
+ // Called when the application is initializing.
+ bool OnAppInitializing(Osp::App::AppRegistry& appRegistry);
+
+ // Called when the application is terminating.
+ bool OnAppTerminating(Osp::App::AppRegistry& appRegistry, bool forcedTermination = false);
+
+
+ // Called when the application's frame moves to the top of the screen.
+ void OnForeground(void);
+
+
+ // Called when this application's frame is moved from top of the screen to the background.
+ void OnBackground(void);
+
+ // Called when the system memory is not sufficient to run the application any further.
+ void OnLowMemory(void);
+
+ // Called when the battery level changes.
+ void OnBatteryLevelChanged(Osp::System::BatteryLevel batteryLevel);
+
+ // Called when the screen turns on.
+ void OnScreenOn (void);
+
+ // Called when the screen turns off.
+ void OnScreenOff (void);
+};
+
+#endif