GCC Code Coverage Report


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

Line Branch Exec Source
1 //
2 // Copyright (c) CNRS
3 // Author: Heidy Dallard
4 //
5
6 #ifndef HPP_GUI_ICONSTRAINT_HH
7 #define HPP_GUI_ICONSTRAINT_HH
8
9 #include <QObject>
10
11 namespace hpp {
12 namespace gui {
13 class IConstraint : public QObject {
14 Q_OBJECT
15 signals:
16 void constraintCreated(QString name);
17 void finished();
18
19 public:
20 virtual ~IConstraint() {}
21 virtual QString getName() const = 0;
22 virtual QWidget* getWidget() const = 0;
23 virtual void reload() = 0;
24 virtual void operator()(QString const& name) = 0;
25 };
26 } // namespace gui
27 } // namespace hpp
28
29 #endif // HPP_GUI_ICONSTRAINT_HH
30