LeechCraft Monocle 0.6.70-14794-g33744ae6ce
Modular document viewer for LeechCraft
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
14namespace LC
15{
16namespace Monocle
17{
18 class IAnnotation;
19 typedef std::shared_ptr<IAnnotation> IAnnotation_ptr;
20
29 {
30 public:
32
38 virtual QList<IAnnotation_ptr> GetAnnotations (int page) = 0;
39 };
40}
41}
42
43Q_DECLARE_INTERFACE (LC::Monocle::ISupportAnnotations,
44 "org.LeechCraft.Monocle.ISupportAnnotations/1.0")
Interface for documents supporting annotations.
virtual QList< IAnnotation_ptr > GetAnnotations(int page)=0
Returns the list of annotations on the given page.
std::shared_ptr< IAnnotation > IAnnotation_ptr
Definition: iannotation.h:183
Definition: iannotation.h:21