##// END OF EJS Templates
Merge pull request 131 from SCIQLOP-Initialisation feature/InitDataSourceController...
Merge pull request 131 from SCIQLOP-Initialisation feature/InitDataSourceController Feature/InitDataSourceController

File last commit:

r21:45edf6844d32
r23:73015bd6234f merge
Show More
SqpApplication.h
33 lines | 1003 B | text/x-c | CLexer
#ifndef SCIQLOP_SQPAPPLICATION_H
#define SCIQLOP_SQPAPPLICATION_H
#include "SqpApplication.h"
#include <QApplication>
#include <QLoggingCategory>
#include <Common/spimpl.h>
Q_DECLARE_LOGGING_CATEGORY(LOG_SqpApplication)
/**
* @brief The SqpApplication class aims to make the link between SciQlop
* and its plugins. This is the intermediate class that SciQlop have to use
* in the way to connect a data source. Please first use load method to intialize
* a plugin specified by its metadata name (JSON plugin source) then others specifics
* method will ba able to access it.
* You can load a data source driver plugin then create a data source.
*/
class SqpApplication : public QApplication {
Q_OBJECT
public:
explicit SqpApplication(int &argc, char **argv);
virtual ~SqpApplication();
void initialize();
private:
class SqpApplicationPrivate;
spimpl::unique_impl_ptr<SqpApplicationPrivate> impl;
};
#endif // SCIQLOP_SQPAPPLICATION_H