From 860b3c0ccfb2756b8ed77523048952011b74a212 Mon Sep 17 00:00:00 2001 From: Christian Gromm Date: Tue, 21 Jun 2016 14:14:04 +0200 Subject: src: can-lin: initial source import This patch adds the sources needed for the HVAC and iDrive applications. Change-Id: I53148a5d11c34787dd11295939bbaf8702c64dcb Signed-off-by: Christian Gromm --- K2LABI/ABI/K2LABI.cpp | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 K2LABI/ABI/K2LABI.cpp (limited to 'K2LABI/ABI/K2LABI.cpp') 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 -- cgit 1.2.3-korg