13 #ifndef BERRYIHANDLER_H_
14 #define BERRYIHANDLER_H_
22 struct IHandlerListener;
120 Q_DECLARE_INTERFACE(
berry::IHandler,
"org.blueberry.core.commands.IHandler")
Light weight base class for most BlueBerry classes.
Implements transparent reference counting.
virtual void SetEnabled(const Object::Pointer &evaluationContext)=0
berryObjectMacro(berry::IHandler)
virtual void AddHandlerListener(IHandlerListener *handlerListener)=0
virtual bool IsEnabled() const =0
virtual void RemoveHandlerListener(IHandlerListener *handlerListener)=0
virtual bool IsHandled() const =0
virtual Object::Pointer Execute(const SmartPointer< const ExecutionEvent > &event)=0