LeechCraft Monocle  0.6.70-6645-gcd10d7e
Modular document viewer for LeechCraft
iannotation.h File Reference
#include <memory>
#include <QtPlugin>
#include <QMetaType>
#include "ilink.h"
+ Include dependency graph for iannotation.h:

Go to the source code of this file.

Classes

class  LeechCraft::Monocle::IAnnotation
 Base interface for annotations. More...
 
class  LeechCraft::Monocle::ITextAnnotation
 The interface for AnnotationType::Text annotations. More...
 
class  LeechCraft::Monocle::IHighlightAnnotation
 The interface for AnnotationType::Highlight annotations. More...
 
class  LeechCraft::Monocle::ILinkAnnotation
 The interface for AnnotationType::Link annotations. More...
 
class  LeechCraft::Monocle::ICaretAnnotation
 The interface for AnnotationType::Caret annotations. More...
 

Namespaces

 LeechCraft
 
 LeechCraft::Monocle
 

Typedefs

typedef std::shared_ptr< IAnnotation > LeechCraft::Monocle::IAnnotation_ptr
 
typedef std::shared_ptr< ITextAnnotation > LeechCraft::Monocle::ITextAnnotation_ptr
 
typedef std::shared_ptr< IHighlightAnnotation > LeechCraft::Monocle::IHighlightAnnotation_ptr
 
typedef std::shared_ptr< ILinkAnnotation > LeechCraft::Monocle::ILinkAnnotation_ptr
 
typedef std::shared_ptr< ICaretAnnotation > LeechCraft::Monocle::ICaretAnnotation_ptr
 

Enumerations

enum  LeechCraft::Monocle::AnnotationType {
  LeechCraft::Monocle::AnnotationType::Text, LeechCraft::Monocle::AnnotationType::Highlight, LeechCraft::Monocle::AnnotationType::Link, LeechCraft::Monocle::AnnotationType::Caret,
  LeechCraft::Monocle::AnnotationType::Other
}
 Defines an annotation type. More...
 

Functions

 Q_DECLARE_INTERFACE (LeechCraft::Monocle::IAnnotation,"org.LeechCraft.Monocle.IAnnotation/1.0")
 
 Q_DECLARE_INTERFACE (LeechCraft::Monocle::ITextAnnotation,"org.LeechCraft.Monocle.ITextAnnotation/1.0")
 
 Q_DECLARE_INTERFACE (LeechCraft::Monocle::IHighlightAnnotation,"org.LeechCraft.Monocle.IHighlightAnnotation/1.0")
 
 Q_DECLARE_INTERFACE (LeechCraft::Monocle::ILinkAnnotation,"org.LeechCraft.Monocle.ILinkAnnotation/1.0")
 
 Q_DECLARE_INTERFACE (LeechCraft::Monocle::ICaretAnnotation,"org.LeechCraft.Monocle.ICaretAnnotation/1.0")
 

Function Documentation

Q_DECLARE_INTERFACE ( LeechCraft::Monocle::IAnnotation  ,
"org.LeechCraft.Monocle.IAnnotation/1.0"   
)
Q_DECLARE_INTERFACE ( LeechCraft::Monocle::ITextAnnotation  ,
"org.LeechCraft.Monocle.ITextAnnotation/1.0"   
)
Q_DECLARE_INTERFACE ( LeechCraft::Monocle::IHighlightAnnotation  ,
"org.LeechCraft.Monocle.IHighlightAnnotation/1.0"   
)
Q_DECLARE_INTERFACE ( LeechCraft::Monocle::ILinkAnnotation  ,
"org.LeechCraft.Monocle.ILinkAnnotation/1.0"   
)
Q_DECLARE_INTERFACE ( LeechCraft::Monocle::ICaretAnnotation  ,
"org.LeechCraft.Monocle.ICaretAnnotation/1.0"   
)