GCC Code Coverage Report


Directory: plugins/
File: plugins/coal/plugin.hh
Date: 2024-12-13 15:51:58
Exec Total Coverage
Lines: 0 1 0.0%
Branches: 0 0 -%

Line Branch Exec Source
1 // Copyright (c) 2019 CNRS
2 // Authors: Joseph Mirabel
3 //
4 //
5 // This file is part of hpp-gui
6 // hpp-gui is free software: you can redistribute it
7 // and/or modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation, either version
9 // 3 of the License, or (at your option) any later version.
10 //
11 // hpp-gui is distributed in the hope that it will be
12 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // General Lesser Public License for more details. You should have
15 // received a copy of the GNU Lesser General Public License along with
16 // hpp-gui If not, see
17 // <http://www.gnu.org/licenses/>.
18
19 #include <QObject>
20 #include <gepetto/gui/plugin-interface.hh>
21
22 namespace hpp {
23 namespace gui {
24 class CoalPlugin : public QObject, public gepetto::gui::PluginInterface {
25 Q_OBJECT
26 Q_INTERFACES(gepetto::gui::PluginInterface)
27
28 #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
29 Q_PLUGIN_METADATA(IID "hpp-gui.hppwidgetsplugin")
30 #endif
31
32 public:
33 QString name() const { return QString("CoalPlugin"); }
34
35 public slots:
36 void addBV(QString name, QString filename, int splitMethod) const;
37
38 protected:
39 void init();
40
41 protected slots:
42 void openDialog() const;
43 };
44 } // namespace gui
45 } // namespace hpp
46