Changeset 5063 in ntrip for trunk/BNC/src


Ignore:
Timestamp:
Mar 29, 2013, 11:13:26 AM (11 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncwindow.cpp

    r4977 r5063  
    7171
    7272using namespace std;
     73
     74#ifdef GNSSCENTER_PLUGIN
     75Q_EXPORT_PLUGIN2(gnsscenter_bnc, t_bncFactory)
     76#endif
    7377
    7478// Constructor
  • trunk/BNC/src/bncwindow.h

    r4790 r5063  
    280280#endif
    281281};
     282
     283#ifdef GNSSCENTER_PLUGIN
     284#include "plugininterface.h"
     285class t_bncFactory : public QObject, public GnssCenter::t_pluginFactoryInterface {
     286 Q_OBJECT
     287 Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
     288 public:
     289  virtual QWidget* create() {return new bncWindow();}
     290  virtual QString getName() const {return QString("BNC");}
     291};
    282292#endif
     293
     294#endif
Note: See TracChangeset for help on using the changeset viewer.