MyScript Interactive Ink SDK  4.1.2
ContentSelection.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 #include <type_traits>
10 #include <vector>
11 
12 namespace myscript {
13 namespace iink {
14 
15 class ContentPart;
16 
21 {
22  HANDWRITING = 1 << 0,
23  DIGITAL_PUBLISH = 1 << 1,
24  DIGITAL_EDIT = 1 << 2,
25 };
26 
33 {
34 public:
35  virtual ~ContentSelection() = default;
36 
43  virtual std::shared_ptr<ContentPart> getPart() = 0;
44 
54  virtual bool isValid() noexcept = 0;
55 };
56 
57 }
58 }
Definition: ContentSelection.h:33
virtual ~ContentSelection()=default
virtual std::shared_ptr< ContentPart > getPart()=0
virtual bool isValid() noexcept=0
ConversionState
Definition: ContentSelection.h:21
@ DIGITAL_EDIT
Definition: ContentSelection.h:24
@ HANDWRITING
Definition: ContentSelection.h:22
@ DIGITAL_PUBLISH
Definition: ContentSelection.h:23
Definition: Configuration.h:10