plugin.hh
Go to the documentation of this file.
1 // Copyright (c) 2018 CNRS
2 // Authors: Joseph Mirabel
3 //
4 //
5 // This file is part of gepetto-viewer
6 // gepetto-viewer 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 // gepetto-viewer 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 // gepetto-viewer If not, see
17 // <http://www.gnu.org/licenses/>.
18 
19 #include <QObject>
20 
22 
26 class PluginSkeleton : public QObject, public gepetto::gui::PluginInterface {
27  Q_OBJECT
28  Q_INTERFACES (gepetto::gui::PluginInterface)
29 
30  public:
31  QString name () const { return QString("PluginSkeleton"); }
32 
33  protected:
34  void init();
35 };
QString name() const
Definition: plugin.hh:31
Definition: plugin.hh:26
Definition: plugin-interface.hh:33