unity.scopes.PreviewListenerBase
Abstract base class for a scope to respond to preview requests. More...
#include <unity/scopes/PreviewListenerBase.h>
Inheritance diagram for unity::scopes::PreviewListenerBase: src="https://assets.ubuntu.com/v1/ecc402a6-classunity_1_1scopes_1_1_preview_listener_base__inherit__graph.png" border="0" alt="Inheritance graph"/>
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(). | |
src="https://assets.ubuntu.com/v1/c6607712-closed.png" alt="-"/> 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().