From: <le...@us...> - 2007-01-08 16:11:24
|
Revision: 126 http://svn.sourceforge.net/qcell/?rev=126&view=rev Author: lessm Date: 2007-01-08 08:11:15 -0800 (Mon, 08 Jan 2007) Log Message: ----------- - libs(ki, fqt, n) compile on visual studio now Modified Paths: -------------- trunk/qcell/baseheaders/GenericParserPlugin.h trunk/qcell/baseheaders/interfaces.h trunk/qcell/basesources/GenericParserPlugin.cpp trunk/qcell/parsers/FQT/FQTParserPlugin.h trunk/qcell/parsers/KI/KIParserPlugin.h trunk/qcell/parsers/N/NParserPlugin.h Modified: trunk/qcell/baseheaders/GenericParserPlugin.h =================================================================== --- trunk/qcell/baseheaders/GenericParserPlugin.h 2007-01-08 06:34:57 UTC (rev 125) +++ trunk/qcell/baseheaders/GenericParserPlugin.h 2007-01-08 16:11:15 UTC (rev 126) @@ -31,7 +31,7 @@ * * @return A an XML string with parsed data */ - virtual QString realParser(QByteArray content, QString type, QString subtype) = 0; + virtual QString realParser(const QByteArray content, const QString type, const QString subtype) = 0; public: /** @@ -68,7 +68,7 @@ QString parse(const QByteArray content, const QString type, const QString subtype=""); - QByteArray parseOut(QString content, const QString type, const QString subtype="") = 0; + virtual QByteArray parseOut(QString content, const QString type, const QString subtype="") = 0; }; #endif Modified: trunk/qcell/baseheaders/interfaces.h =================================================================== --- trunk/qcell/baseheaders/interfaces.h 2007-01-08 06:34:57 UTC (rev 125) +++ trunk/qcell/baseheaders/interfaces.h 2007-01-08 16:11:15 UTC (rev 126) @@ -28,7 +28,7 @@ * * @return A list of types supported by the parser */ - virtual QStringList parserTypes() = 0; + // virtual QStringList parserTypes() = 0; /** * @brief File types the plugin is able to parse * @@ -36,7 +36,7 @@ * * @return A list of types(extensions) of files types parsed by the plugin */ - virtual QStringList fileTypes(const QString type) = 0; + // virtual QStringList fileTypes(const QString type) = 0; /** * @brief The main parsing function Modified: trunk/qcell/basesources/GenericParserPlugin.cpp =================================================================== --- trunk/qcell/basesources/GenericParserPlugin.cpp 2007-01-08 06:34:57 UTC (rev 125) +++ trunk/qcell/basesources/GenericParserPlugin.cpp 2007-01-08 16:11:15 UTC (rev 126) @@ -6,7 +6,7 @@ * Last Update: wto 05 gru 2006 20:23:24 CET */ -#include "GenericParserPlugin.h" +#include "../baseheaders/GenericParserPlugin.h" //QStringList GenericParserPlugin::parserTypes() //{ Modified: trunk/qcell/parsers/FQT/FQTParserPlugin.h =================================================================== --- trunk/qcell/parsers/FQT/FQTParserPlugin.h 2007-01-08 06:34:57 UTC (rev 125) +++ trunk/qcell/parsers/FQT/FQTParserPlugin.h 2007-01-08 16:11:15 UTC (rev 126) @@ -21,10 +21,10 @@ { protected: QString realParser(const QByteArray content, const QString type, const QString subtype); - QByteArray parseOut(QString content, const QString type, const QString subtype=""); + public: FQTParserPlugin(); - + QByteArray parseOut(QString content, const QString type, const QString subtype=""); }; #endif Modified: trunk/qcell/parsers/KI/KIParserPlugin.h =================================================================== --- trunk/qcell/parsers/KI/KIParserPlugin.h 2007-01-08 06:34:57 UTC (rev 125) +++ trunk/qcell/parsers/KI/KIParserPlugin.h 2007-01-08 16:11:15 UTC (rev 126) @@ -18,12 +18,12 @@ class KIParserPlugin : public GenericParserPlugin { protected: - QString realParser(QByteArray content, QString type, QString subtype); - QByteArray parseOut(QString content, const QString type, const QString subtype=""); + QString realParser(const QByteArray content, const QString type, const QString subtype); + public: KIParserPlugin(); + QByteArray parseOut(QString content, const QString type, const QString subtype=""); - }; #endif Modified: trunk/qcell/parsers/N/NParserPlugin.h =================================================================== --- trunk/qcell/parsers/N/NParserPlugin.h 2007-01-08 06:34:57 UTC (rev 125) +++ trunk/qcell/parsers/N/NParserPlugin.h 2007-01-08 16:11:15 UTC (rev 126) @@ -19,10 +19,10 @@ { protected: QString realParser(const QByteArray content, const QString type, const QString subtype); - QByteArray parseOut(QString content, const QString type, const QString subtype); + public: NParserPlugin(); - + QByteArray parseOut(QString content, const QString type, const QString subtype); }; #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |