##// END OF EJS Templates
New register explorer WIP...
New register explorer WIP !!!!!!!!!!!!!!!!!!!!!!!!!!!!! REMOVED OLD genericPySysdriver interface Now the plugins are directly exposed to python. ABI not compatible with previous plugins. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!

File last commit:

r0:1aa783210b8e default
r79:3440ba47d0f1 default
Show More
xmldriver.h
33 lines | 833 B | text/x-c | CLexer
Jeandet Alexis
First init of SocExplorer Repository.
r0 #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