LeechCraft Monocle
0.6.70-17609-g3dde4097dd
Modular document viewer for LeechCraft
Loading...
Searching...
No Matches
isupportforms.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
IFormField
;
19
20
typedef
std::shared_ptr<IFormField>
IFormField_ptr
;
21
typedef
QList<IFormField_ptr>
IFormFields_t
;
22
37
class
ISupportForms
38
{
39
protected
:
40
virtual
~ISupportForms
() =
default
;
41
public
:
50
virtual
IFormFields_t
GetFormFields
(
int
page) = 0;
51
};
52
}
53
}
54
55
Q_DECLARE_INTERFACE (
LC::Monocle::ISupportForms
,
56
"org.LeechCraft.Monocle.ISupportForms/1.0"
)
LC::Monocle::IFormField
Base interface to be implemented by form fields.
Definition
iformfield.h:63
LC::Monocle::ISupportForms
Interface for documents supporting inline forms.
Definition
isupportforms.h:38
LC::Monocle::ISupportForms::GetFormFields
virtual IFormFields_t GetFormFields(int page)=0
Returns the list of fields for the given page.
LC::Monocle::ISupportForms::~ISupportForms
virtual ~ISupportForms()=default
LC::Monocle
Definition
coordsbase.h:15
LC::Monocle::IFormFields_t
QList< IFormField_ptr > IFormFields_t
Definition
isupportforms.h:21
LC::Monocle::IFormField_ptr
std::shared_ptr< IFormField > IFormField_ptr
A shared pointer to a IFormField.
Definition
iformfield.h:112
LC
Definition
coordsbase.h:15
src
plugins
monocle
interfaces
monocle
isupportforms.h
Generated by
1.14.0