summaryrefslogtreecommitdiffhomepage
path: root/SONAME.h
diff options
context:
space:
mode:
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;
+};
+