summaryrefslogtreecommitdiff
path: root/source/LcdVersion.cpp
diff options
context:
space:
mode:
authorunknown <XSLOSHO@.seavus-dev2.com>2011-11-07 10:14:35 +0100
committerViktor Mladenovski <viktor.mladenovski@seavus.com>2012-05-25 14:38:13 +0200
commite5812923ee1ae1298cb9ebf8a095cc62367a399c (patch)
tree5879aa1d44cc4a7704c86e1efb58059a7b39255b /source/LcdVersion.cpp
parentc60e5c40802a7f14e9005eb9f462c6f741b1e839 (diff)
Add LCD/LCM compatibility check
LCD/LCM compatibility check added to determine whether PC-LCM is compatible with the LCD. Error handling in LCM is added. Depends-On: I6ad7dc8807cb8c407379fe448f06816904253520 ST-Ericsson ID: 362575 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10204 Change-Id: If5b3c993739f93276e2a76b012a1852d687ad746 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36378 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com> Tested-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Diffstat (limited to 'source/LcdVersion.cpp')
-rw-r--r--source/LcdVersion.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/source/LcdVersion.cpp b/source/LcdVersion.cpp
new file mode 100644
index 0000000..4b46588
--- /dev/null
+++ b/source/LcdVersion.cpp
@@ -0,0 +1,21 @@
+/*******************************************************************************
+ * Copyright (C) ST-Ericsson SA 2011
+ * License terms: 3-clause BSD license
+ ******************************************************************************/
+#include "lcdriver_error_codes.h"
+#include "LcmInterface.h"
+#include "Error.h"
+#ifdef _WIN32
+#include "WinApiWrappers.h"
+#else
+#include "LinuxApiWrappers.h"
+#include <dlfcn.h>
+#define GetProcAddress dlsym
+#endif
+/**
+ * var char *LCD_VersionList[]
+ * brief ASCII string list variable holding the LCD version/build time/product number..
+ */
+char *LCD_VersionList[] = {"R1V",
+ NULL
+ };