Index: /trunk/BNC/src/bncwindow.cpp
===================================================================
--- /trunk/BNC/src/bncwindow.cpp	(revision 5062)
+++ /trunk/BNC/src/bncwindow.cpp	(revision 5063)
@@ -71,4 +71,8 @@
 
 using namespace std;
+
+#ifdef GNSSCENTER_PLUGIN
+Q_EXPORT_PLUGIN2(gnsscenter_bnc, t_bncFactory)
+#endif
 
 // Constructor
Index: /trunk/BNC/src/bncwindow.h
===================================================================
--- /trunk/BNC/src/bncwindow.h	(revision 5062)
+++ /trunk/BNC/src/bncwindow.h	(revision 5063)
@@ -280,3 +280,15 @@
 #endif
 };
+
+#ifdef GNSSCENTER_PLUGIN
+#include "plugininterface.h"
+class t_bncFactory : public QObject, public GnssCenter::t_pluginFactoryInterface {
+ Q_OBJECT
+ Q_INTERFACES(GnssCenter::t_pluginFactoryInterface)
+ public:
+  virtual QWidget* create() {return new bncWindow();} 
+  virtual QString getName() const {return QString("BNC");}
+};
 #endif
+
+#endif
