IVariableContainer.h
22 lines
| 601 B
| text/x-c
|
CLexer
Alexandre Leroux
|
r194 | #ifndef SCIQLOP_IVARIABLECONTAINER_H | ||
#define SCIQLOP_IVARIABLECONTAINER_H | ||||
class Variable; | ||||
/** | ||||
* @brief The IVariableContainer interface represents an UI object that can accommodate a variable | ||||
*/ | ||||
class IVariableContainer { | ||||
public: | ||||
virtual ~IVariableContainer() = default; | ||||
/// Checks if the container can handle the variable passed in parameter | ||||
virtual bool canDrop(const Variable &variable) const = 0; | ||||
Alexandre Leroux
|
r301 | |||
/// Checks if the container contains the variable passed in parameter | ||||
virtual bool contains(const Variable &variable) const = 0; | ||||
Alexandre Leroux
|
r194 | }; | ||
#endif // SCIQLOP_IVARIABLECONTAINER_H | ||||