added factory registration code in BasicItemFactory
[simple-launcher] / misc / BasicItem.cc
index 608be50..f6ec384 100644 (file)
@@ -15,3 +15,8 @@
 // this program; if not, write to the Free Software Foundation, Inc., 51
 // Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
+#include "BasicItem.h"
+
+BasicItemFactory::BasicItemFactory() {
+  registerFactory(factoryName(), this);
+}