21 #include <unity/scopes/Variant.h>
22 #include <unity/scopes/Link.h>
23 #include <unity/util/DefinesPtrs.h>
37 class ResultReplyObject;
40 namespace experimental
51 class Annotation final
55 UNITY_DEFINES_PTRS(Annotation);
71 explicit Annotation(Type atype);
77 Annotation(Annotation
const &other);
78 Annotation(Annotation&&);
79 Annotation& operator=(Annotation
const& other);
80 Annotation& operator=(Annotation&&);
84 virtual ~Annotation();
93 void set_label(std::string
const& label);
101 void set_icon(std::string
const& icon);
111 void add_link(std::string
const& label, CannedQuery
const& query);
118 std::string label()
const;
125 std::string icon()
const;
131 std::list<Link::SCPtr> links()
const;
137 Type annotation_type()
const;
144 Annotation(internal::AnnotationImpl* impl);
145 std::unique_ptr<internal::AnnotationImpl> p;
147 friend class internal::ResultReplyObject;
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
Definition: ActionMetadata.h:31