##// END OF EJS Templates
Corrects regression on variable destruction
Corrects regression on variable destruction

File last commit:

r327:87af69bdce8a
r420:4458a8f811e4
Show More
IVariableContainer.h
22 lines | 601 B | text/x-c | CLexer
#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;
/// Checks if the container contains the variable passed in parameter
virtual bool contains(const Variable &variable) const = 0;
};
#endif // SCIQLOP_IVARIABLECONTAINER_H