Unity Scopes API
|
Abstract base class for a scope to respond to preview requests. More...
#include <unity/scopes/PreviewListenerBase.h>
Public Member Functions | |
virtual void | push (ColumnLayoutList const &layouts)=0 |
Called by the scopes runtime for each column layout definition returned by preview(). | |
virtual void | push (PreviewWidgetList const &)=0 |
Called by the scopes runtime for each preview chunk that is returned by preview(). | |
virtual void | push (std::string const &key, Variant const &value)=0 |
Called by the scopes runtime for each data field that is returned by preview(). | |
![]() | |
virtual void | finished (Reason r, std::string const &error_message)=0 |
Called once by the scopes run time after the final result for a query() was sent. More... | |
Additional Inherited Members | |
![]() | |
enum | Reason { Finished, Cancelled, Error } |
Indicates the cause of a call to finished(). More... | |
Abstract base class for a scope to respond to preview requests.
An instance of this class must be returned from Scope::preview().