aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/core/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/core/version.h')
-rw-r--r--src/libjin/core/version.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/libjin/core/version.h b/src/libjin/core/version.h
new file mode 100644
index 0000000..b5fe379
--- /dev/null
+++ b/src/libjin/core/version.h
@@ -0,0 +1,52 @@
+#ifndef __JE_CORE_VERSION_H__
+#define __JE_CORE_VERSION_H__
+
+namespace JinEngine
+{
+ namespace Core
+ {
+
+ ///
+ /// Get version of Jin.
+ ///
+ /// @return Version of Jin.
+ ///
+ const char* getVersion()
+ {
+ return "Jin 0.1";
+ }
+
+ ///
+ /// Get author of Jin.
+ ///
+ /// @return Author of Jin.
+ ///
+ const char* getAuthor()
+ {
+ return "Chai";
+ }
+
+ ///
+ /// Get release of Jin.
+ ///
+ /// @return release string of Jin.
+ ///
+ const char* getRelease()
+ {
+ return "Jin 0.1.1";
+ }
+
+ ///
+ /// Get release of Jin.
+ ///
+ /// @return Revision of Jin.
+ ///
+ int getRevision()
+ {
+ return 101;
+ }
+
+ } // namespace Core
+} // namespace JinEngine
+
+#endif // __JE_CORE_VERSION_H__