1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

Remove export symbols from the serial connection plugin since it does not export symbols to be used by other plugins. Tested on Win7 and Linux, please tell if this breaks anything.

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2481 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
edouard 2011-01-19 06:38:25 +00:00 committed by edouard
parent d7fd8a3bcd
commit 94bf080009
2 changed files with 12 additions and 7 deletions

View File

@ -3,10 +3,11 @@ TARGET = Serial
include(../../openpilotgcsplugin.pri)
include(serial_dependencies.pri)
INCLUDEPATH += ../../libs/qextserialport/src
HEADERS += serialplugin.h \
serial_global.h
HEADERS += serialplugin.h
#HEADERS += serialplugin.h \
# serial_global.h
SOURCES += serialplugin.cpp
FORMS +=
RESOURCES +=
DEFINES += SERIAL_LIBRARY
#DEFINES += SERIAL_LIBRARY
OTHER_FILES += Serial.pluginspec

View File

@ -28,7 +28,7 @@
#ifndef SERIALPLUGIN_H
#define SERIALPLUGIN_H
#include "serial_global.h"
//#include "serial_global.h"
#include <qextserialport.h>
#include <qextserialenumerator.h>
#include "coreplugin/iconnection.h"
@ -44,7 +44,8 @@ class SerialConnection;
* Some operating systems do not send device insertion events so
* for those we have to poll
*/
class SERIAL_EXPORT SerialEnumerationThread : public QThread
//class SERIAL_EXPORT SerialEnumerationThread : public QThread
class SerialEnumerationThread : public QThread
{
Q_OBJECT
public:
@ -67,7 +68,8 @@ protected:
* Plugin will add a instance of this class to the pool,
* so the connection manager can use it.
*/
class SERIAL_EXPORT SerialConnection
//class SERIAL_EXPORT SerialConnection
class SerialConnection
: public Core::IConnection
{
Q_OBJECT
@ -101,7 +103,9 @@ protected:
};
class SERIAL_EXPORT SerialPlugin
//class SERIAL_EXPORT SerialPlugin
class SerialPlugin
: public ExtensionSystem::IPlugin
{
Q_OBJECT