Changeset 5053 in ntrip


Ignore:
Timestamp:
Mar 28, 2013, 6:46:21 PM (8 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/svgmap
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/svgmap/svgmap.cpp

    r5033 r5053  
    3232using namespace GnssCenter;
    3333
    34 Q_EXPORT_PLUGIN2(gnsscenter_svgmap, GnssCenter::t_svgMap)
     34Q_EXPORT_PLUGIN2(gnsscenter_svgmap, GnssCenter::t_svgMapFactory)
    3535
    3636// Constructor
  • trunk/GnssCenter/svgmap/svgmap.h

    r5014 r5053  
    1313class t_svgMap : public QDialog, public t_pluginInterface {
    1414 Q_OBJECT
    15  Q_INTERFACES(GnssCenter::t_pluginInterface)
    16    
    1715 public:
    1816  t_svgMap();
     
    4745};
    4846
     47class t_svgMapFactory : public QObject, public t_pluginFactoryInterface {
     48 Q_OBJECT
     49 Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
     50 public:
     51  t_pluginInterface* create() {return new t_svgMap();}
     52};
     53
    4954} // namespace GnssCenter
    5055
Note: See TracChangeset for help on using the changeset viewer.