##// END OF EJS Templates
Some more progress on Python Providers side, works with a simple request on CDAWeb....
Some more progress on Python Providers side, works with a simple request on CDAWeb. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1429:78e9c85d13ee
r1429:78e9c85d13ee
Show More
python_providers.h
33 lines | 834 B | text/x-c | CLexer
Ported MockPlugin to new Variable2 impl and added dummy python plugin...
r1423 #ifndef PYTHON_PROVIDERS_H
#define PYTHON_PROVIDERS_H
#include <Plugin/IPlugin.h>
Added ultra preliminary version of python providers...
r1428 #include <QUuid>
Ported MockPlugin to new Variable2 impl and added dummy python plugin...
r1423
#include <memory>
Added ultra preliminary version of python providers...
r1428 #include <python_interpreter.h>
Ported MockPlugin to new Variable2 impl and added dummy python plugin...
r1423
#ifndef SCIQLOP_PLUGIN_JSON_FILE_PATH
#define SCIQLOP_PLUGIN_JSON_FILE_PATH "python_providers.json"
#endif
class DataSourceItem;
class PythonProviders : public QObject, public IPlugin
{
Q_OBJECT
Q_INTERFACES(IPlugin)
Q_PLUGIN_METADATA(IID "sciqlop.plugin.IPlugin" FILE SCIQLOP_PLUGIN_JSON_FILE_PATH)
public:
/// @sa IPlugin::initialize()
void initialize() override;
Updated meson build files...
r1425 ~PythonProviders();
Added ultra preliminary version of python providers...
r1428
private:
Some more progress on Python Providers side, works with a simple request on CDAWeb....
r1429 void register_product(const std::vector<std::pair<std::string,std::vector<std::pair<std::string,std::string>>>>& product_list,
PythonInterpreter::provider_funct_t
Added ultra preliminary version of python providers...
r1428 f);
PythonInterpreter _interpreter;
Ported MockPlugin to new Variable2 impl and added dummy python plugin...
r1423 };
#endif // PYTHON_PROVIDERS_H