diff options
author | Christian Persch <chpe@src.gnome.org> | 2009-01-30 18:40:17 (GMT) |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2009-01-30 18:40:17 (GMT) |
commit | 2d8aad40e1916911b773f1cfdd93c961feabf807 (patch) | |
tree | f87dabab6d4ba15446fd5cbe2625e0f18357cf3d /libdocument/ev-init.h | |
parent | 1f9a1db557a629d68bba06d7b4b4379127c34f4d (diff) |
A libdocument/ev-init.[ch]: Add single init/shutdown method. Bug #569117.
* evince-document.h:
* libdocument/Makefile.am:
A libdocument/ev-init.[ch]: Add single init/shutdown method. Bug
#569117.
* libdocument/ev-backends-manager.c: (_ev_backends_manager_init):
* libdocument/ev-backends-manager.h:
* libdocument/ev-debug.c: (_ev_debug_init), (_ev_debug_shutdown):
* libdocument/ev-debug.h:
* libdocument/ev-file-helpers.c: (_ev_file_helpers_init),
(_ev_file_helpers_shutdown):
* libdocument/ev-file-helpers.h: Make these init/shutdown methods
private.
* properties/ev-properties-main.c: (nautilus_module_initialize),
(nautilus_module_shutdown):
* shell/main.c: (main):
* thumbnailer/evince-thumbnailer.c: (main): Use the new single
init/shutdown method.
svn path=/trunk/; revision=3391
Diffstat (limited to 'libdocument/ev-init.h')
-rw-r--r-- | libdocument/ev-init.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/libdocument/ev-init.h b/libdocument/ev-init.h new file mode 100644 index 0000000..976429c --- /dev/null +++ b/libdocument/ev-init.h @@ -0,0 +1,39 @@ +/* this file is part of evince, a gnome document viewer + * + * Copyright © 2009 Christian Persch + * + * Evince is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * Evince is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser + * General Public License for more details. + * + * You should have received a copy of the GNU Lesser 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. + */ + +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only <evince-document.h> can be included directly." +#endif + +#ifndef EV_INIT_H +#define EV_INIT_H + +#include <glib.h> + +G_BEGIN_DECLS + +gboolean ev_init (void); + +void ev_shutdown (void); + +gboolean _ev_is_initialized (void); + +G_END_DECLS + +#endif /* EV_INIT_H */ |