]> www.fi.muni.cz Git - evince.git/blobdiff - libdocument/ev-document-forms.h
Updated Thai translation.
[evince.git] / libdocument / ev-document-forms.h
index a1b192da7990630622567a071ccf123c91e8f43b..35524676b07d70281a10a5a794f2e2f65abf350d 100644 (file)
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
+#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-document.h> can be included directly."
+#endif
+
 #ifndef EV_DOCUMENT_FORMS_H
 #define EV_DOCUMENT_FORMS_H
 
@@ -30,21 +34,21 @@ G_BEGIN_DECLS
 
 #define EV_TYPE_DOCUMENT_FORMS           (ev_document_forms_get_type ())
 #define EV_DOCUMENT_FORMS(o)             (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT_FORMS, EvDocumentForms))
-#define EV_DOCUMENT_FORMS_IFACE(k)       (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FORMS, EvDocumentFormsIface))
+#define EV_DOCUMENT_FORMS_IFACE(k)       (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT_FORMS, EvDocumentFormsInterface))
 #define EV_IS_DOCUMENT_FORMS(o)                  (G_TYPE_CHECK_INSTANCE_TYPE ((o), EV_TYPE_DOCUMENT_FORMS))
 #define EV_IS_DOCUMENT_FORMS_IFACE(k)     (G_TYPE_CHECK_CLASS_TYPE ((k), EV_TYPE_DOCUMENT_FORMS))
-#define EV_DOCUMENT_FORMS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FORMS, EvDocumentFormsIface))
+#define EV_DOCUMENT_FORMS_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), EV_TYPE_DOCUMENT_FORMS, EvDocumentFormsInterface))
 
-typedef struct _EvDocumentForms      EvDocumentForms;
-typedef struct _EvDocumentFormsIface EvDocumentFormsIface;
+typedef struct _EvDocumentForms          EvDocumentForms;
+typedef struct _EvDocumentFormsInterface EvDocumentFormsInterface;
 
-struct _EvDocumentFormsIface
+struct _EvDocumentFormsInterface
 {
        GTypeInterface base_iface;
 
        /* Methods  */
        GList   *(* get_form_fields)                    (EvDocumentForms   *document_forms,
-                                                        gint               page);
+                                                        EvPage            *page);
        gchar   *(* form_field_text_get_text)           (EvDocumentForms   *document_forms,
                                                         EvFormField       *field);
        void     (* form_field_text_set_text)           (EvDocumentForms   *document_forms,
@@ -80,7 +84,7 @@ struct _EvDocumentFormsIface
 
 GType    ev_document_forms_get_type                            (void) G_GNUC_CONST;
 GList   *ev_document_forms_get_form_fields                     (EvDocumentForms   *document_forms,
-                                                               gint               page);
+                                                               EvPage            *page);
 
 gchar  *ev_document_forms_form_field_text_get_text            (EvDocumentForms   *document_forms, 
                                                                EvFormField       *field);