diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | include/mts/MTS_IO_CellularRadioFactory.h | 3 | ||||
-rw-r--r-- | include/mts/MTS_IO_ICellularRadio.h | 5 |
3 files changed, 5 insertions, 5 deletions
@@ -41,7 +41,7 @@ OBJS += \ CC := $(CXX) #-Werror -CXXFLAGS += -Wall -std=c++0x -fmessage-length=0 -fPIC +CXXFLAGS += -Wall -std=c++0x -fmessage-length=0 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden CPPFLAGS += -I=/usr/include/jsoncpp -Iinclude LDFLAGS += -s -shared -Wl,-soname,$(APPNAME).so.0 diff --git a/include/mts/MTS_IO_CellularRadioFactory.h b/include/mts/MTS_IO_CellularRadioFactory.h index 501f314..540ed29 100644 --- a/include/mts/MTS_IO_CellularRadioFactory.h +++ b/include/mts/MTS_IO_CellularRadioFactory.h @@ -21,6 +21,7 @@ #ifndef MTS_IO_CELLULARRADIOFACTORY_H_ #define MTS_IO_CELLULARRADIOFACTORY_H_ +#include <mts/MTS_IO_CellularRadio.h> #include <mts/MTS_IO_TelitRadio.h> #include <string> #include <map> @@ -32,7 +33,7 @@ namespace MTS { class GE910Radio; class DE910Radio; class CE910Radio; - class CellularRadioFactory { + class EXPORT CellularRadioFactory { public: diff --git a/include/mts/MTS_IO_ICellularRadio.h b/include/mts/MTS_IO_ICellularRadio.h index 257ed00..d954a24 100644 --- a/include/mts/MTS_IO_ICellularRadio.h +++ b/include/mts/MTS_IO_ICellularRadio.h @@ -7,12 +7,11 @@ #include <json/json.h> -#include <mts/MTS_AutoPtr.h> -#include <mts/MTS_IO_Connection.h> +#define EXPORT __attribute__((visibility("default"))) namespace MTS { namespace IO { - class ICellularRadio + class EXPORT ICellularRadio { public: typedef std::function<bool(const std::string&/*iterationData*/, const std::string&/*allData*/)> IsNeedMoreData; |