LeechCraft Monocle  0.6.70-16373-g319c272718
Modular document viewer for LeechCraft
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 
38  {
39  public:
40  virtual ~ISupportForms () {}
41 
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")
std::shared_ptr< IFormField > IFormField_ptr
A shared pointer to a IFormField.
Definition: iformfield.h:119
QList< IFormField_ptr > IFormFields_t
Definition: isupportforms.h:21
virtual IFormFields_t GetFormFields(int page)=0
Returns the list of fields for the given page.
Definition: iannotation.h:20
Interface for documents supporting inline forms.
Definition: isupportforms.h:37