19 #ifndef UNITY_SCOPES_ACTIVATIONQUERYBASE_H
20 #define UNITY_SCOPES_ACTIVATIONQUERYBASE_H
22 #include <unity/scopes/QueryBase.h>
23 #include <unity/util/DefinesPtrs.h>
24 #include <unity/scopes/ActivationResponse.h>
37 class ActivationQueryBaseImpl;
122 internal::ActivationQueryBaseImpl* fwd()
const;
Abstract server-side base interface for a query that is executed inside a scope.
Definition: QueryBase.h:61
Base class for an activation request that is executed inside a scope.
Definition: ActivationQueryBase.h:47
The attributes of a result returned by a Scope.
Definition: Result.h:51
ActivationQueryBase(Result const &result, ActionMetadata const &metadata)
Create ActivationQueryBase.
std::string action_id() const
Get the action identifier for this activation request handler.
Definition: ActivationQueryBase.cpp:70
std::string widget_id() const
Get the widget identifier for this activation request handler.
Definition: ActivationQueryBase.cpp:65
Result result() const
Get the result for this activation request handler.
Definition: ActivationQueryBase.cpp:55
virtual ActivationResponse activate()
Return response to the activation request.
Definition: ActivationQueryBase.cpp:50
virtual void cancelled() override
Called when the originator of the activation request cancelled it.
Definition: ActivationQueryBase.cpp:45
ActionMetadata action_metadata() const
Get the metadata for this activation request handler.
Definition: ActivationQueryBase.cpp:60
Response to a result activation.
Definition: ActivationResponse.h:41