X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-form-field.h;h=8a1e87f92c61bd86ef54a99af3f1c907f16f73df;hb=d4139205b010ed06310d14284e63114e88ec6de2;hp=027bee60e579e3b16e704b365f935c133b5f8b4c;hpb=b8aebf2e1ba5b4f9ff1e1256b28acb3e23947c51;p=evince.git diff --git a/libdocument/ev-form-field.h b/libdocument/ev-form-field.h index 027bee60..8a1e87f9 100644 --- a/libdocument/ev-form-field.h +++ b/libdocument/ev-form-field.h @@ -15,9 +15,13 @@ * * 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 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 */