MLPluginIfc 1.0
 
Loading...
Searching...
No Matches
MLPlugin.h
1/*
2 * Copyright (C) 2025 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 <AuxFunc.h>
20#include <gtkmm-4.0/gtkmm/window.h>
21
46
59{
60public:
65 MLPlugin(void *af_ptr);
66
67 virtual ~MLPlugin();
68
78 virtual void
79 createWindow(Gtk::Window *parent_window);
80
87 Glib::ustring
89
96 Glib::ustring
98
99protected:
106 std::shared_ptr<AuxFunc> af;
107
111 Glib::ustring plugin_name;
115 Glib::ustring plugin_description;
116};
117
118#endif // MLPLUGIN_H
Glib::ustring plugin_name
Plugin name.
Definition MLPlugin.h:111
MLPlugin(void *af_ptr)
MLPlugin constructor.
std::shared_ptr< AuxFunc > af
Pointer to AuxFunc object.
Definition MLPlugin.h:106
Glib::ustring getPluginDescription()
Returns plugin description.
virtual void createWindow(Gtk::Window *parent_window)
Virtual function.
Glib::ustring getPluginName()
Returns plugin name if set.
Glib::ustring plugin_description
Plugin description.
Definition MLPlugin.h:115