1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 2 3 /* 4 * Engrampa 5 * 6 * Copyright (C) 2001 The Free Software Foundation, Inc. 7 * 8 * This program is free software; you can redistribute it and/or modify 9 * it under the terms of the GNU General Public License as published by 10 * the Free Software Foundation; either version 2 of the License, or 11 * (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 59 Temple Street #330, Boston, MA 02110-1301, USA. 21 */ 22 23 #ifndef FR_COMMAND_CFILE_H 24 #define FR_COMMAND_CFILE_H 25 26 #include <glib.h> 27 #include "fr-command.h" 28 #include "typedefs.h" 29 30 #define FR_TYPE_COMMAND_CFILE (fr_command_cfile_get_type ()) 31 #define FR_COMMAND_CFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), FR_TYPE_COMMAND_CFILE, FrCommandCFile)) 32 #define FR_COMMAND_CFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FR_TYPE_COMMAND_CFILE, FrCommandCFileClass)) 33 #define FR_IS_COMMAND_CFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), FR_TYPE_COMMAND_CFILE)) 34 #define FR_IS_COMMAND_CFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FR_TYPE_COMMAND_CFILE)) 35 #define FR_COMMAND_CFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), FR_TYPE_COMMAND_CFILE, FrCommandCFileClass)) 36 37 typedef struct _FrCommandCFile FrCommandCFile; 38 typedef struct _FrCommandCFileClass FrCommandCFileClass; 39 40 struct _FrCommandCFile 41 { 42 FrCommand __parent; 43 44 /*<private>*/ 45 46 FrProcError error; 47 }; 48 49 struct _FrCommandCFileClass 50 { 51 FrCommandClass __parent_class; 52 }; 53 54 GType fr_command_cfile_get_type (void); 55 56 #endif /* FR_COMMAND_CFILE_H */ 57