X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-document-factory.h;h=501eb2f31b5d5126d3bbaad678001c1e5a528cfe;hb=eb80ecd1f7aa6ff57d2a3324c691274745ca4ed0;hp=886be691b002567367e0773105a4582d29c360ab;hpb=13a06349251874bd35d2f03c3fc93217cee749a2;p=evince.git diff --git a/libdocument/ev-document-factory.h b/libdocument/ev-document-factory.h index 886be691..501eb2f3 100644 --- a/libdocument/ev-document-factory.h +++ b/libdocument/ev-document-factory.h @@ -14,31 +14,24 @@ * * 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_DOCUMENT_FACTORY_H #define EV_DOCUMENT_FACTORY_H #include + #include "ev-document.h" G_BEGIN_DECLS -typedef enum { - EV_BACKEND_PDF, - EV_BACKEND_PS, - EV_BACKEND_TIFF, - EV_BACKEND_PIXBUF, - EV_BACKEND_DJVU, - EV_BACKEND_DVI, - EV_BACKEND_COMICS, - EV_BACKEND_IMPRESS -} EvBackend; - EvDocument* ev_document_factory_get_document (const char *uri, GError **error); -EvBackend ev_document_factory_get_backend (EvDocument *document); void ev_document_factory_add_filters (GtkWidget *chooser, EvDocument *document); G_END_DECLS