aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--backend-shared/CMakeLists.txt2
-rw-r--r--backend-shared/README11
3 files changed, 14 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f46393243..55589f830 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -280,6 +280,7 @@ add_subdirectory(commands)
add_subdirectory(profile-widget)
add_subdirectory(map-widget)
add_subdirectory(mobile-widgets)
+add_subdirectory(backend-shared)
if (SUBSURFACE_TARGET_EXECUTABLE MATCHES "DesktopExecutable")
add_subdirectory(desktop-widgets)
diff --git a/backend-shared/CMakeLists.txt b/backend-shared/CMakeLists.txt
new file mode 100644
index 000000000..750d22a98
--- /dev/null
+++ b/backend-shared/CMakeLists.txt
@@ -0,0 +1,2 @@
+# backend functionality shared between Desktop (UI) and Mobile (QML)
+
diff --git a/backend-shared/README b/backend-shared/README
new file mode 100644
index 000000000..f82fc2fed
--- /dev/null
+++ b/backend-shared/README
@@ -0,0 +1,11 @@
+This directory contains shared UI backend code shared between
+the desktop version and the mobile version.
+
+The backend code sits between the actual functionality, which
+are implemented in core and qt-models, and the UI/QML which
+are implemented in desktop-widgets and mobile-widgets.
+
+The idea of backend is not to duplicate code, and at the same time
+limit the UI and QML to only deal with real GUI.
+
+The first implementations for backend are "export" and "diveplanner".