MLPlugin 1.0
Loading...
Searching...
No Matches
MLPlugin.h
1/*
2 * Copyright (C) 2026 Yury Bobylev <bobilev_yury@mail.ru>
3 *
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the Free
6 * Software Foundation, version 3.
7 *
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 *
13 * You should have received a copy of the GNU General Public License along with
14 * this program. If not, see <https://www.gnu.org/licenses/>.
15 */
16#ifndef MLPLUGIN_H
17#define MLPLUGIN_H
18
19#include <Bases.h>
20#include <QWidget>
21#include <filesystem>
22
41
54{
55public:
61 MLPlugin(void *bases, void *plugin_path);
62
63 virtual ~MLPlugin();
64
71 virtual void
72 createWindow(QWidget *parent);
73
78 QString
80
86 QString
88
93 std::filesystem::path
95
100 std::shared_ptr<MLBookProc>
102
103protected:
110
116 std::filesystem::path plugin_path;
117
121 QString plugin_name;
122
127};
128
129#endif // MLPLUGIN_H
The Bases class.
Definition Bases.h:32
std::filesystem::path getPluginPath()
QString getPluginDescription()
std::filesystem::path plugin_path
Definition MLPlugin.h:116
QString getPluginName()
std::shared_ptr< MLBookProc > getMLBookProc()
MLPlugin(void *bases, void *plugin_path)
MLPlugin constructor.
virtual void createWindow(QWidget *parent)
QString plugin_description
Definition MLPlugin.h:126
QString plugin_name
Definition MLPlugin.h:121
Bases bases
Definition MLPlugin.h:109