gplate/functions/gplate-print-function.h
author Gary Kramlich <grim@reaperworld.com>
Sat Jul 03 23:24:33 2010 -0500 (22 months ago)
changeset 394 ad26d98e20e6
parent 253 2d616c598bc5
permissions -rw-r--r--
Changed the license from gplv2 to gplv3
Updated copyrights to be 2007-2010 rather than 2007-2008 (since just about everything has been touched recently
Ignored the top level tests/ directory for now since that is slowly being replaced
grim@127
     1
/*
grim@394
     2
 * Copyright (C) 2007-2010 Gary Kramlich <grim@reaperworld.com>
grim@127
     3
 *
grim@394
     4
 * This program is free software: you can redistribute it and/or modify
grim@394
     5
 * it under the terms of the GNU General Public License as published by
grim@394
     6
 * the Free Software Foundation, either version 3 of the License, or
grim@394
     7
 * (at your option) any later version.
grim@127
     8
 *
grim@394
     9
 * This program is distributed in the hope that it will be useful,
grim@394
    10
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
grim@394
    11
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
grim@394
    12
 * GNU General Public License for more details.
grim@394
    13
 *
grim@394
    14
 * You should have received a copy of the GNU General Public License
grim@394
    15
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
grim@127
    16
 */
grim@127
    17
#ifndef GPLATE_PRINT_FUNCTION_H
grim@127
    18
#define GPLATE_PRINT_FUNCTION_H
grim@127
    19
grim@127
    20
#include <gplate/gplate-function.h>
grim@127
    21
grim@127
    22
#define GPLATE_TYPE_PRINT_FUNCTION				(gplate_print_function_get_gtype())
grim@127
    23
#define GPLATE_PRINT_FUNCTION(obj)				(G_TYPE_CHECK_INSTANCE_CAST((obj), GPLATE_TYPE_PRINT_FUNCTION, GPlatePrintFunction))
grim@127
    24
#define GPLATE_PRINT_FUNCTION_CLASS(klass)		(G_TYPE_CHECK_CLASS_CAST((klass), GPLATE_TYPE_PRINT_FUNCTION, GPlatePrintFunctionClass))
grim@127
    25
#define GPLATE_IS_PRINT_FUNCTION(obj)			(G_TYPE_CHECK_INSTANCE_TYPE((obj), GPLATE_TYPE_PRINT_FUNCTION))
grim@127
    26
#define GPLATE_IS_PRINT_FUNCTION_CLASS(klass)	(G_TYPE_CHECK_CLASS_TYPE((klass), GPLATE_TYPE_PRINT_FUNCTION))
grim@127
    27
#define GPLATE_PRINT_FUNCTION_GET_CLASS(obj)	(G_TYPE_INSTANCE_GET_CLASS((obj), GPLATE_TYPE_PRINT_FUNCTION, GPlatePrintFunctionClass))
grim@127
    28
grim@127
    29
typedef struct _GPlatePrintFunction				GPlatePrintFunction;
grim@127
    30
typedef struct _GPlatePrintFunctionClass		GPlatePrintFunctionClass;
grim@127
    31
grim@127
    32
struct _GPlatePrintFunction {
grim@127
    33
	GPlateFunction gparent;
grim@127
    34
grim@127
    35
	void (*_gplate_reserved1)(void);
grim@127
    36
	void (*_gplate_reserved2)(void);
grim@127
    37
	void (*_gplate_reserved3)(void);
grim@127
    38
	void (*_gplate_reserved4)(void);
grim@127
    39
};
grim@127
    40
grim@127
    41
struct _GPlatePrintFunctionClass {
grim@127
    42
	GPlateFunctionClass parent;
grim@127
    43
grim@127
    44
	void (*_gplate_reserved1)(void);
grim@127
    45
	void (*_gplate_reserved2)(void);
grim@127
    46
	void (*_gplate_reserved3)(void);
grim@127
    47
	void (*_gplate_reserved4)(void);
grim@127
    48
};
grim@127
    49
grim@127
    50
G_BEGIN_DECLS
grim@127
    51
grim@127
    52
GType gplate_print_function_get_gtype(void);
grim@127
    53
grim@127
    54
G_END_DECLS
grim@127
    55
grim@127
    56
#endif /* GPLATE_PRINT_FUNCTION_H */