##// END OF EJS Templates
Updates model after an event has been created through the colored zone
Updates model after an event has been created through the colored zone

File last commit:

r327:87af69bdce8a
r1231:073d4af7c849
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