summaryrefslogtreecommitdiffstats
path: root/K2LABI/ABI/K2LABI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'K2LABI/ABI/K2LABI.cpp')
-rw-r--r--K2LABI/ABI/K2LABI.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/K2LABI/ABI/K2LABI.cpp b/K2LABI/ABI/K2LABI.cpp
new file mode 100644
index 0000000..0f94156
--- /dev/null
+++ b/K2LABI/ABI/K2LABI.cpp
@@ -0,0 +1,25 @@
+#include "k2l-type.h"
+#include "K2LABI.h"
+#include "ABI.h"
+
+//static
+IABI* CABIFactory::CreateAbi()
+{
+ return new CABI();
+}
+
+//static
+void CABIFactory::DestroyAbi(IABI* pAbi)
+{
+ delete pAbi;
+}
+
+K2LABI_API IABI* CreateABI (void)
+{
+ return new CABI();
+}
+
+K2LABI_API void DestroyABI (IABI* pAbi)
+{
+ delete pAbi;
+} \ No newline at end of file