mirror of https://gitlab.com/cppit/jucipp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
330 B
18 lines
330 B
#pragma once |
|
#include "config.hpp" |
|
#include "python_bind.h" |
|
#include <pybind11/embed.h> |
|
|
|
class __attribute__((visibility("default"))) |
|
Plugins { |
|
public: |
|
Plugins(Config &config); |
|
~Plugins(); |
|
void load(); |
|
|
|
void init_hook(); |
|
|
|
private: |
|
py::detail::embedded_module jucipp_module; |
|
std::vector<std::string> loaded_modules; |
|
};
|
|
|