summaryrefslogtreecommitdiffhomepage
path: root/SONAME.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2024-05-10 21:15:30 +0200
committerRoland Reichwein <mail@reichwein.it>2024-05-10 21:15:30 +0200
commita7e016c2c633667b561a0f26ebde88cb26571d1c (patch)
tree7c66727de7022d5d962448be365dd059bb0ecac1 /SONAME.h
parentbfdb4e9d2cfc7890c5f194e670039fa76c391330 (diff)
Build static and dynamic libs
Diffstat (limited to 'SONAME.h')
-rw-r--r--SONAME.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/SONAME.h b/SONAME.h
new file mode 100644
index 0000000..998f67f
--- /dev/null
+++ b/SONAME.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include <string>
+
+class SONAME
+{
+public:
+ SONAME();
+ SONAME(const std::string& s); // "" or "0" or "1.2.3"
+
+ std::string getShortName() const; // ""
+ std::string getName() const; // ".X"
+ std::string getFullName() const; // ".X.Y.Z"
+private:
+ std::string _soname;
+ std::string _soname_full;
+};
+