mirror of
https://gitlab.gnome.org/GNOME/evince
synced 2024-06-30 22:54:23 +00:00
Instead of using the "#ifndef FOO_H", "#define FOO_H", …, "#endif FOO_H" guards around the header file, use the "#pragma once".
30 lines
612 B
Plaintext
30 lines
612 B
Plaintext
/*** BEGIN file-header ***/
|
|
|
|
#pragma once
|
|
|
|
#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
|
|
#error "Only <evince-view.h> can be included directly."
|
|
#endif
|
|
|
|
#include <glib-object.h>
|
|
|
|
#include <evince-document.h>
|
|
|
|
G_BEGIN_DECLS
|
|
/*** END file-header ***/
|
|
|
|
/*** BEGIN file-production ***/
|
|
|
|
/* enumerations from "@basename@" */
|
|
/*** END file-production ***/
|
|
|
|
/*** BEGIN value-header ***/
|
|
EV_PUBLIC
|
|
GType @enum_name@_get_type (void) G_GNUC_CONST;
|
|
#define EV_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
|
|
/*** END value-header ***/
|
|
|
|
/*** BEGIN file-tail ***/
|
|
G_END_DECLS
|
|
/*** END file-tail ***/
|