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
commit8c10334252821b6310cf744218f7ad8bed7917f2 (patch)
treef6f11d71eac56fa834783ef54a977b80f2e5efc2 /src/tech
parentfc9beffe0103a80bf883f85b7ae09dc42b7af50e (diff)
downloadrts-8c10334252821b6310cf744218f7ad8bed7917f2.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 */