21 #include <unity/scopes/Category.h>
28 class CategoryRenderer;
51 unity::scopes::
Category(id, title, icon, nullptr, renderer_template)
std::string icon() const
Get icon of this Category.
A category renderer template in JSON format.
Definition: CategoryRenderer.h:83
Category(VariantMap const &variant_map)
Deserializes category from a variant data.
Definition: Category.h:60
std::string title() const
Get title of this Category.
Definition: OnlineAccountClient.h:39
A set of related results returned by a scope and displayed within a single pane in the Unity dash...
Definition: Category.h:49
CategoryRenderer const & renderer_template() const
Get renderer template of this Category.
Implementation of Category class for testing.
Definition: Category.h:39
Top-level namespace for all things Unity-related.
Definition: Version.h:49
std::map< std::string, Variant > VariantMap
A dictionary of (string, Variant) pairs.
Definition: Variant.h:38
Category(std::string const &id, std::string const &title, std::string const &icon, CategoryRenderer const &renderer_template)
Creates category instance.
Definition: Category.h:50