summaryrefslogtreecommitdiff
path: root/alarm-app/inc
diff options
context:
space:
mode:
authorEugene Kurzberg <i.kurtsberg@samsung.com>2017-01-20 17:52:00 +0200
committerEugene Kurzberg <i.kurtsberg@samsung.com>2017-01-20 17:52:00 +0200
commit55b46144ccc6a659ea8121bc1a8adf395e78daa2 (patch)
tree0c61c3829bdc87eedd6d83740fd31eb6acf3c845 /alarm-app/inc
parent743bf77a90e5cf02a1298597c543c2f14ce93c60 (diff)
downloadalarm-55b46144ccc6a659ea8121bc1a8adf395e78daa2.tar.gz
alarm-55b46144ccc6a659ea8121bc1a8adf395e78daa2.tar.bz2
alarm-55b46144ccc6a659ea8121bc1a8adf395e78daa2.zip
TizenRefApp-7914 Implement base structure of Alarm application
Added alarm-app and lib-common projects. Added application class and localization files. Change-Id: I878af457a887aa468c468baec9f3d1c4ac0e934d Signed-off-by: Eugene Kurzberg <i.kurtsberg@samsung.com>
Diffstat (limited to 'alarm-app/inc')
-rw-r--r--alarm-app/inc/AlarmApp.h29
-rw-r--r--alarm-app/inc/OperationDefaultController.h32
2 files changed, 61 insertions, 0 deletions
diff --git a/alarm-app/inc/AlarmApp.h b/alarm-app/inc/AlarmApp.h
new file mode 100644
index 0000000..d977fe2
--- /dev/null
+++ b/alarm-app/inc/AlarmApp.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2017 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALARM_APP_H
+#define ALARM_APP_H
+
+#include "App/Application.h"
+
+class AlarmApp : public App::Application
+{
+private:
+ virtual App::OperationController *createController(const char *operation) override;
+ virtual bool onCreate() override;
+};
+
+#endif /* ALARM_APP_H */
diff --git a/alarm-app/inc/OperationDefaultController.h b/alarm-app/inc/OperationDefaultController.h
new file mode 100644
index 0000000..6db201c
--- /dev/null
+++ b/alarm-app/inc/OperationDefaultController.h
@@ -0,0 +1,32 @@
+/*
+ * Copyright 2017 Samsung Electronics Co., Ltd
+ *
+ * Licensed under the Flora License, Version 1.1 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://floralicense.org/license/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef OPERATION_DEFAULT_CONTROLLER_H
+#define OPERATION_DEFAULT_CONTROLLER_H
+
+#include "App/OperationController.h"
+
+class OperationDefaultController : public App::OperationController
+{
+public:
+ OperationDefaultController();
+
+private:
+ virtual void onCreate() override;
+ virtual void onRequest(const char *operation, app_control_h request) override { }
+};
+
+#endif /* OPERATION_DEFAULT_CONTROLLER_H */