Unity Scopes API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
unity::scopes::PreviewListenerBase Class Referenceabstract

Abstract base class for a scope to respond to preview requests. More...

#include <unity/scopes/PreviewListenerBase.h>

Inheritance diagram for unity::scopes::PreviewListenerBase:

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().
 
- Public Member Functions inherited from unity::scopes::ListenerBase
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

- Public Types inherited from unity::scopes::ListenerBase
enum  Reason { Finished, Cancelled, Error }
 Indicates the cause of a call to finished(). More...
 

Detailed Description

Abstract base class for a scope to respond to preview requests.

An instance of this class must be returned from Scope::preview().


The documentation for this class was generated from the following file: