aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces/include
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/include')
-rw-r--r--interfaces/include/appframework.hpp54
-rw-r--r--interfaces/include/daynightmode.hpp29
-rw-r--r--interfaces/include/homescreen.hpp23
-rw-r--r--interfaces/include/inputevent.hpp29
-rw-r--r--interfaces/include/popup.hpp31
-rw-r--r--interfaces/include/statusbar.hpp22
6 files changed, 188 insertions, 0 deletions
diff --git a/interfaces/include/appframework.hpp b/interfaces/include/appframework.hpp
new file mode 100644
index 0000000..d95cd9d
--- /dev/null
+++ b/interfaces/include/appframework.hpp
@@ -0,0 +1,54 @@
+/*
+ * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * 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 APPFRAMEWORK_HPP
+#define APPFRAMEWORK_HPP
+
+#include <QObject>
+#include <QtDBus>
+#include <QString>
+
+class AppInfo : public QObject
+{
+ Q_OBJECT
+public:
+ explicit AppInfo(QObject *parent = 0);
+ AppInfo(const AppInfo &other);
+ AppInfo& operator=(const AppInfo &other);
+ ~AppInfo();
+
+ //register Message with the Qt type system
+ static void registerMetaType();
+
+ friend QDBusArgument &operator<<(QDBusArgument &argument, const AppInfo &appInfo);
+ friend const QDBusArgument &operator>>(const QDBusArgument &argument, AppInfo &appInfo);
+
+ void setName(const QString name) {this->name = name;}
+ QString getName() const {return name;}
+ void setIconPath(const QString iconPath) {this->iconPath = iconPath;}
+ QString getIconPath() const {return iconPath;}
+ void setDescription(const QString description) {this->description = description;}
+ QString getDescription() const {return description;}
+
+private:
+ QString name;
+ QString iconPath;
+ QString description;
+};
+
+Q_DECLARE_METATYPE(AppInfo)
+
+#endif // APPFRAMEWORK_HPP
diff --git a/interfaces/include/daynightmode.hpp b/interfaces/include/daynightmode.hpp
new file mode 100644
index 0000000..4081212
--- /dev/null
+++ b/interfaces/include/daynightmode.hpp
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * 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 DAYNIGHTMODE_H
+#define DAYNIGHTMODE_H
+
+namespace SystemDayNight {
+ typedef enum DayNightMode
+ {
+ DAYNIGHTMODE_UNDEFINED = -1,
+ DAYNIGHTMODE_DAY = 0,
+ DAYNIGHTMODE_NIGHT = 1
+ } eDayNightMode;
+}
+
+#endif // DAYNIGHTMODE_H
diff --git a/interfaces/include/homescreen.hpp b/interfaces/include/homescreen.hpp
new file mode 100644
index 0000000..bef3695
--- /dev/null
+++ b/interfaces/include/homescreen.hpp
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * 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 HOMESCREEN_H
+#define HOMESCREEN_H
+
+#include "inputevent.hpp"
+
+#endif // HOMESCREEN_H
+
diff --git a/interfaces/include/inputevent.hpp b/interfaces/include/inputevent.hpp
new file mode 100644
index 0000000..28418f6
--- /dev/null
+++ b/interfaces/include/inputevent.hpp
@@ -0,0 +1,29 @@
+/*
+ * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * 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 INPUTEVENT_H
+#define INPUTEVENT_H
+
+namespace InputEvent {
+ typedef enum HardKey
+ {
+ HARDKEY_UNDEFINED,
+ HARDKEY_NAV
+ } eHardKey;
+}
+
+#endif // INPUTEVENT_H
+
diff --git a/interfaces/include/popup.hpp b/interfaces/include/popup.hpp
new file mode 100644
index 0000000..1b92333
--- /dev/null
+++ b/interfaces/include/popup.hpp
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * 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 POPUP_H
+#define POPUP_H
+
+namespace SystemPopup {
+ typedef enum PopupType
+ {
+ POPUPTYPE_UNDEFINED,
+ POPUPTYPE_INFO,
+ POPUPTYPE_WARNING,
+ POPUPTYPE_ERROR
+ } ePopupType;
+}
+
+#endif // POPUP_H
+
diff --git a/interfaces/include/statusbar.hpp b/interfaces/include/statusbar.hpp
new file mode 100644
index 0000000..d7fcc0c
--- /dev/null
+++ b/interfaces/include/statusbar.hpp
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2016 Mentor Graphics Development (Deutschland) GmbH
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * 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 STATUSBAR_H
+#define STATUSBAR_H
+
+
+
+#endif // STATUSBAR_H