|
From: <dhu...@us...> - 2006-11-28 10:18:27
|
Revision: 9
http://svn.sourceforge.net/qcell/?rev=9&view=rev
Author: dhubleizh
Date: 2006-11-28 02:18:24 -0800 (Tue, 28 Nov 2006)
Log Message:
-----------
- running fix
- beginned interface writing for parsers
Modified Paths:
--------------
trunk/qcell/visgui/main.cpp
trunk/qcell/visgui/visgui.pro
Added Paths:
-----------
trunk/qcell/visgui/ClientConfig.xml
trunk/qcell/visgui/interfaces.h
Added: trunk/qcell/visgui/ClientConfig.xml
===================================================================
--- trunk/qcell/visgui/ClientConfig.xml (rev 0)
+++ trunk/qcell/visgui/ClientConfig.xml 2006-11-28 10:18:24 UTC (rev 9)
@@ -0,0 +1 @@
+link ../bin/ClientConfig.xml
\ No newline at end of file
Property changes on: trunk/qcell/visgui/ClientConfig.xml
___________________________________________________________________
Name: svn:special
+ *
Added: trunk/qcell/visgui/interfaces.h
===================================================================
--- trunk/qcell/visgui/interfaces.h (rev 0)
+++ trunk/qcell/visgui/interfaces.h 2006-11-28 10:18:24 UTC (rev 9)
@@ -0,0 +1,24 @@
+/**@file interfaces.h
+ * @author czarny
+ * @version 0.1
+ * @date
+ * Created: wto 28 lis 2006 11:08:50 CET \n
+ * Last Update: wto 28 lis 2006 11:08:50 CET
+ */
+
+#ifndef __INTERFACES_H__
+#define __INTERFACES_H__
+
+class ParserInterface
+{
+public:
+ virtual ~ParserInterface() { };
+
+ virtual QStringList fileTypes() const = 0;
+};
+
+Q_DECLARE_INTERFACE(ParserInterface,
+ "qQCell.ParserInterface/1.0")
+
+#endif
+
Modified: trunk/qcell/visgui/main.cpp
===================================================================
--- trunk/qcell/visgui/main.cpp 2006-11-28 10:11:36 UTC (rev 8)
+++ trunk/qcell/visgui/main.cpp 2006-11-28 10:18:24 UTC (rev 9)
@@ -2,22 +2,28 @@
#include <QtGui>
#include "MainWindow.h"
+#include "../baseheaders/Client.h"
using namespace std;
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
-
+
+ Client c;
+ if(c.initClient())
+ {
+ }
+
QString locale = QLocale::system().name();
-
+
QTranslator translator;
translator.load(QString("visgui_") + locale);
app.installTranslator(&translator);
-
+
MainWindow mw;
mw.show();
-
+
return app.exec();
}
Modified: trunk/qcell/visgui/visgui.pro
===================================================================
--- trunk/qcell/visgui/visgui.pro 2006-11-28 10:11:36 UTC (rev 8)
+++ trunk/qcell/visgui/visgui.pro 2006-11-28 10:18:24 UTC (rev 9)
@@ -1,13 +1,18 @@
TEMPLATE = app
DESTDIR = ../bin
-CONFIG += qt thread warn_on debug
+CONFIG += thread warn_on debug
+QT += network xml
FORMS = MainWindow.ui \
AboutDialog.ui
-HEADERS = MainWindow.h
+HEADERS = MainWindow.h \
+ ../baseheaders/Client.h \
+ ../baseheaders/ClientInfo.h
SOURCES = main.cpp \
- MainWindow.cpp
+ MainWindow.cpp \
+ ../basesources/Client.cpp \
+ ../basesources/ClientInfo.cpp
TRANSLATIONS = visgui_pl.ts
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|