##// END OF EJS Templates
New Plugin Manager and interface to remove all the previous crap!...
New Plugin Manager and interface to remove all the previous crap! Let's use Qt plugin API and make it much simpler.

File last commit:

r0:1aa783210b8e default
r118:de85e8465e67 tip 1.0
Show More
xmldriver.h
33 lines | 833 B | text/x-c | CLexer
#ifndef XMLDRIVER_H
#define XMLDRIVER_H
#include <QObject>
#include <QString>
#include <QList>
#include <QObject>
#include "XMLdata.h"
#include "socexplorerxmlfile.h"
class XMLDriver : public QObject
{
Q_OBJECT
public:
explicit XMLDriver(QObject *parent = 0);
//! Check that the given file is a readable Xml file.
int checkXmlFile(const QString& fileName);
int createXmlFile(const QString& fileName);
//! Return the list of all xml nodes with the given tag name in cached Xml files.
QList<xmlfile*> getFileList(const QString& tagNameFilter);
QList<QDomNodeList> getAllNodes(const QString& tagName);
public slots:
void registerXmlFile(const QString &fileName);
//! Reload all xmlFiles.
void scanXmlFiles();
signals:
private:
QList<xmlfile*>* xmlFiles;
};
#endif // XMLDRIVER_H