X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=libdocument%2Fev-form-field.h;h=1e5114ef744768cb38786a38ea3c2c08d53b20a0;hb=c9525f15920d12cb778b342f30dacf9e3782204a;hp=027bee60e579e3b16e704b365f935c133b5f8b4c;hpb=b8aebf2e1ba5b4f9ff1e1256b28acb3e23947c51;p=evince.git diff --git a/libdocument/ev-form-field.h b/libdocument/ev-form-field.h index 027bee60..1e5114ef 100644 --- a/libdocument/ev-form-field.h +++ b/libdocument/ev-form-field.h @@ -18,6 +18,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef EV_FORM_FIELD_H #define EV_FORM_FIELD_H @@ -204,26 +208,6 @@ GType ev_form_field_signature_get_type (void) G_GNUC_CONST; EvFormField *ev_form_field_signature_new (gint id); -/* FormField Mapping stuff */ -typedef struct _EvFormFieldMapping EvFormFieldMapping; -struct _EvFormFieldMapping { - EvFormField *field; - gdouble x1; - gdouble y1; - gdouble x2; - gdouble y2; -}; - -void ev_form_field_mapping_free (GList *field_mapping); -EvFormField *ev_form_field_mapping_find (GList *field_mapping, - gdouble x, - gdouble y); -void ev_form_field_mapping_get_area (GList *field_mapping, - EvFormField *field, - EvRectangle *area); -EvFormField *ev_form_field_mapping_find_by_id (GList *form_field_mapping, - gint id); - G_END_DECLS #endif /* !EV_FORM_FIELD_H */