|
From: <dhu...@us...> - 2006-11-28 16:59:19
|
Revision: 13
http://svn.sourceforge.net/qcell/?rev=13&view=rev
Author: dhubleizh
Date: 2006-11-28 08:59:04 -0800 (Tue, 28 Nov 2006)
Log Message:
-----------
- lib directory for output libs
- parsers dir and pro file for input files parsers plugins
Modified Paths:
--------------
trunk/qcell/visgui/main.cpp
trunk/qcell/visgui/visgui.pro
Modified: trunk/qcell/visgui/main.cpp
===================================================================
--- trunk/qcell/visgui/main.cpp 2006-11-28 11:05:24 UTC (rev 12)
+++ trunk/qcell/visgui/main.cpp 2006-11-28 16:59:04 UTC (rev 13)
@@ -6,6 +6,8 @@
using namespace std;
+Q_IMPORT_PLUGIN(NFileParser);
+
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
@@ -21,6 +23,17 @@
translator.load(QString("visgui_") + locale);
app.installTranslator(&translator);
+ foreach(QObject* plugin, QPluginLoader::staticInstances())
+ {
+ ParserInterface* iParser = qobject_cast<ParserInterface *>(plugin);
+// if(iParser)
+// {
+// QStringList lista = iParser->fileTypes();
+// cout << lista[0] << endl;
+// }
+ }
+
+
MainWindow mw;
mw.show();
Modified: trunk/qcell/visgui/visgui.pro
===================================================================
--- trunk/qcell/visgui/visgui.pro 2006-11-28 11:05:24 UTC (rev 12)
+++ trunk/qcell/visgui/visgui.pro 2006-11-28 16:59:04 UTC (rev 13)
@@ -3,16 +3,18 @@
CONFIG += thread warn_on debug
QT += network xml
-FORMS = MainWindow.ui \
- AboutDialog.ui
+FORMS = MainWindow.ui \
+ AboutDialog.ui
+HEADERS = MainWindow.h \
+ ../baseheaders/Client.h \
+ ../baseheaders/ClientInfo.h \
+ ../baseheaders/interfaces.h
+SOURCES = main.cpp \
+ MainWindow.cpp \
+ ../basesources/Client.cpp \
+ ../basesources/ClientInfo.cpp
-HEADERS = MainWindow.h \
- ../baseheaders/Client.h \
- ../baseheaders/ClientInfo.h
-SOURCES = main.cpp \
- MainWindow.cpp \
- ../basesources/Client.cpp \
- ../basesources/ClientInfo.cpp
+LIBS = -L../libs -lN
-TRANSLATIONS = visgui_pl.ts
+TRANSLATIONS = visgui_pl.ts
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|