LeechCraft Monocle
0.6.70-18450-gabe19ee3b0
Modular document viewer for LeechCraft
Toggle main menu visibility
Loading...
Searching...
No Matches
isupportannotations.h
Go to the documentation of this file.
1
/**********************************************************************
2
* LeechCraft - modular cross-platform feature rich internet client.
3
* Copyright (C) 2006-2014 Georg Rudoy
4
*
5
* Distributed under the Boost Software License, Version 1.0.
6
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7
**********************************************************************/
8
9
#pragma once
10
11
#include <memory>
12
#include <QtPlugin>
13
14
namespace
LC
15
{
16
namespace
Monocle
17
{
18
class
IAnnotation
;
19
typedef
std::shared_ptr<IAnnotation>
IAnnotation_ptr
;
20
28
class
ISupportAnnotations
29
{
30
protected
:
31
virtual
~ISupportAnnotations
() =
default
;
32
public
:
38
virtual
QList<IAnnotation_ptr>
GetAnnotations
(
int
page) = 0;
39
};
40
}
41
}
42
43
Q_DECLARE_INTERFACE (
LC::Monocle::ISupportAnnotations
,
44
"org.LeechCraft.Monocle.ISupportAnnotations/1.0"
)
LC::Monocle::IAnnotation
Base interface for annotations.
Definition
iannotation.h:65
LC::Monocle::ISupportAnnotations
Interface for documents supporting annotations.
Definition
isupportannotations.h:29
LC::Monocle::ISupportAnnotations::GetAnnotations
virtual QList< IAnnotation_ptr > GetAnnotations(int page)=0
Returns the list of annotations on the given page.
LC::Monocle::ISupportAnnotations::~ISupportAnnotations
virtual ~ISupportAnnotations()=default
LC::Monocle
Definition
coordsbase.h:15
LC::Monocle::IAnnotation_ptr
std::shared_ptr< IAnnotation > IAnnotation_ptr
Definition
iannotation.h:178
LC
Definition
coordsbase.h:15
src
plugins
monocle
interfaces
monocle
isupportannotations.h
Generated by
1.17.0