aboutsummaryrefslogtreecommitdiff
path: root/src/tech
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2021-07-03 00:49:03 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-03-30 08:20:20 +0200
commit6b9f686913efc3725b2690033cd4f398e07076ba (patch)
treee9aa91a6b9f617d78123ebe7ad272fc42a60d306 /src/tech
parentc9e6ae44a9aeb89b3f48f3443d6baa80103f7445 (diff)
downloadjancity-6b9f686913efc3725b2690033cd4f398e07076ba.tar.gz
Add project source code
Diffstat (limited to 'src/tech')
-rw-r--r--src/tech/CMakeLists.txt2
-rw-r--r--src/tech/inc/tech.h20
2 files changed, 22 insertions, 0 deletions
diff --git a/src/tech/CMakeLists.txt b/src/tech/CMakeLists.txt
new file mode 100644
index 0000000..1fd6963
--- /dev/null
+++ b/src/tech/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_library(tech INTERFACE)
+target_include_directories(tech INTERFACE "inc")
diff --git a/src/tech/inc/tech.h b/src/tech/inc/tech.h
new file mode 100644
index 0000000..071515f
--- /dev/null
+++ b/src/tech/inc/tech.h
@@ -0,0 +1,20 @@
+#ifndef TECH_H
+#define TECH_H
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+enum tech_level
+{
+ TECH_LEVEL_1,
+ TECH_LEVEL_2,
+ TECH_LEVEL_3
+};
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* TECH_H */