MLPlugin
1.0
Toggle main menu visibility
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
53
class
MLPlugin
54
{
55
public
:
61
MLPlugin
(
void
*
bases
,
void
*
plugin_path
);
62
63
virtual
~MLPlugin
();
64
71
virtual
void
72
createWindow
(QWidget *parent);
73
78
QString
79
getPluginName
();
80
86
QString
87
getPluginDescription
();
88
93
std::filesystem::path
94
getPluginPath
();
95
100
std::shared_ptr<MLBookProc>
101
getMLBookProc
();
102
103
protected
:
109
Bases
bases
;
110
116
std::filesystem::path
plugin_path
;
117
121
QString
plugin_name
;
122
126
QString
plugin_description
;
127
};
128
129
#endif
// MLPLUGIN_H
Bases
The Bases class.
Definition
Bases.h:32
MLPlugin::getPluginPath
std::filesystem::path getPluginPath()
MLPlugin::getPluginDescription
QString getPluginDescription()
MLPlugin::plugin_path
std::filesystem::path plugin_path
Definition
MLPlugin.h:116
MLPlugin::getPluginName
QString getPluginName()
MLPlugin::getMLBookProc
std::shared_ptr< MLBookProc > getMLBookProc()
MLPlugin::MLPlugin
MLPlugin(void *bases, void *plugin_path)
MLPlugin constructor.
MLPlugin::createWindow
virtual void createWindow(QWidget *parent)
MLPlugin::plugin_description
QString plugin_description
Definition
MLPlugin.h:126
MLPlugin::plugin_name
QString plugin_name
Definition
MLPlugin.h:121
MLPlugin::bases
Bases bases
Definition
MLPlugin.h:109
MLPlugin.h
Generated by
1.17.0