14 #ifndef BERRYIHANDLERSERVICE_H_
15 #define BERRYIHANDLERSERVICE_H_
25 class ParameterizedCommand;
29 struct IEvaluationContext;
31 struct IHandlerActivation;
140 const QString& commandId,
182 const QString& commandId,
Implements transparent reference counting.
virtual SmartPointer< const ExecutionEvent > CreateExecutionEvent(const SmartPointer< const ParameterizedCommand > &command, const SmartPointer< const UIElement > &uielement)=0
virtual SmartPointer< IEvaluationContext > CreateContextSnapshot(bool includeSelection)=0
virtual Object::Pointer ExecuteCommand(const SmartPointer< ParameterizedCommand > &command, const SmartPointer< const UIElement > &uielement)=0
virtual SmartPointer< IHandlerActivation > ActivateHandler(const QString &commandId, const SmartPointer< IHandler > &handler)=0
virtual void SetHelpContextId(const SmartPointer< IHandler > &handler, const QString &helpContextId)=0
virtual void DeactivateHandlers(const QList< SmartPointer< IHandlerActivation > > &activations)=0
virtual void DeactivateHandler(const SmartPointer< IHandlerActivation > &activation)=0
virtual SmartPointer< IEvaluationContext > GetCurrentState() const =0
virtual Object::Pointer ExecuteCommandInContext(const SmartPointer< ParameterizedCommand > &command, const SmartPointer< const UIElement > &uielement, const SmartPointer< IEvaluationContext > &context)=0
virtual SmartPointer< IHandlerActivation > ActivateHandler(const SmartPointer< IHandlerActivation > &activation)=0
virtual Object::Pointer ExecuteCommand(const QString &commandId, const SmartPointer< const UIElement > &uielement)=0
berryObjectMacro(berry::IHandlerService)
virtual SmartPointer< IHandlerActivation > ActivateHandler(const QString &commandId, const SmartPointer< IHandler > &handler, const SmartPointer< Expression > &expression)=0
virtual SmartPointer< const ExecutionEvent > CreateExecutionEvent(const SmartPointer< const Command > &command, const SmartPointer< const UIElement > &uielement)=0
~IHandlerService() override
virtual void ReadRegistry()=0
virtual SmartPointer< IHandlerActivation > ActivateHandler(const QString &commandId, const SmartPointer< IHandler > &handler, const SmartPointer< Expression > &expression, bool global)=0