PreviewListenerBase

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

#include <unity/scopes/PreviewListenerBase.h>

Inheritance diagram for unity::scopes::PreviewListenerBase:
Inheritance graph
[legend]

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 (CompletionDetails const &details)=0
 Called once by the scopes runtime after the final result for a request was sent. More...
 
virtual void info (OperationInfo const &op_info)
 Called by the scopes runtime each time a scope reports additional information about the reply to a query. 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().