MyScript Interactive Ink SDK  3.1.3
ContentPart.h
1 // Copyright @ MyScript. All rights reserved.
2 
3 #pragma once
4 
5 #include <iink/Engine.h>
6 #include <iink/graphics/Rectangle.h>
7 
8 #include <memory>
9 
10 namespace myscript {
11 namespace iink {
12 
13 class ContentPackage;
14 class ParameterSet;
15 
24 {
25 public:
26  virtual ~ContentPart() = default;
27 
33  virtual std::shared_ptr<ContentPackage> getPackage() const noexcept = 0;
34 
40  virtual String getId() const noexcept = 0;
41 
47  virtual String getType() const = 0;
48 
55  virtual graphics::Rectangle getViewBox() const noexcept = 0;
56 
65  virtual String getLanguage() = 0;
66 
72  virtual std::shared_ptr<ParameterSet> getMetadata() = 0;
73 
79  virtual void setMetadata(std::shared_ptr<ParameterSet> parameters) = 0;
80 };
81 
82 }
83 }
Definition: ContentPart.h:24
virtual graphics::Rectangle getViewBox() const noexcept=0
virtual ~ContentPart()=default
virtual String getId() const noexcept=0
virtual String getLanguage()=0
virtual std::shared_ptr< ContentPackage > getPackage() const noexcept=0
virtual void setMetadata(std::shared_ptr< ParameterSet > parameters)=0
virtual String getType() const =0
virtual std::shared_ptr< ParameterSet > getMetadata()=0
Definition: ParameterSet.h:16
Definition: String.h:30
Definition: Configuration.h:11