aboutsummaryrefslogtreecommitdiff
path: root/Gem/develop/include/Gem/RTE/RTE.h
diff options
context:
space:
mode:
Diffstat (limited to 'Gem/develop/include/Gem/RTE/RTE.h')
-rw-r--r--Gem/develop/include/Gem/RTE/RTE.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/Gem/develop/include/Gem/RTE/RTE.h b/Gem/develop/include/Gem/RTE/RTE.h
new file mode 100644
index 0000000..bbcad94
--- /dev/null
+++ b/Gem/develop/include/Gem/RTE/RTE.h
@@ -0,0 +1,56 @@
+/*-----------------------------------------------------------------
+ LOG
+ GEM - Graphics Environment for Multimedia
+
+ generic access to RTE
+
+ Copyright (c) 2012 IOhannes m zmölnig. forum::für::umläute. IEM. zmoelnig@iem.at
+ For information on usage and redistribution, and for a DISCLAIMER OF ALL
+ WARRANTIES, see the file, "GEM.LICENSE.TERMS" in this distribution.
+
+ -----------------------------------------------------------------*/
+#ifndef _INCLUDE__GEM_RTE_RTE_H_
+#define _INCLUDE__GEM_RTE_RTE_H_
+
+
+#include "Gem/ExportDef.h"
+#include <string>
+
+namespace gem {
+ namespace RTE {
+ class GEM_EXTERN RTE {
+ private:
+ class PIMPL;
+ PIMPL*m_pimpl;
+
+ RTE(void);
+ virtual ~RTE(void);
+
+ public:
+ static RTE*getRuntimeEnvironment(void);
+
+ /**
+ * get the Runtime Environemnt's version
+ */
+ virtual const std::string getVersion(unsigned int&major, unsigned int&minor);
+
+ /**
+ * get the Runtime Environemnt's name
+ */
+ virtual const std::string getName(void);
+
+ /**
+ * resolve a function-name in the current RTE
+ * @return pointer to the function named 'name', or NULL if it doesn't exist
+ */
+ virtual void*getFunction(const std::string&name);
+
+ /**
+ * find a file in the given context(canvas), searching RTEs search paths
+ * @return expanded filename
+ */
+ virtual std::string findFile(const std::string&name, const std::string&ext, const void*context) const;
+ };
+ };
+};
+#endif /* _INCLUDE__GEM_RTE_RTE_H_ */