2
* gedit-gnomevfs-document-saver.h
3
* This file is part of gedit
5
* Copyright (C) 2005 - Paolo Maggi
6
* Copyrhing (C) 2007 - Paolo Maggi, Steve Frécinaux
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.
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.
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 Place, Suite 330,
21
* Boston, MA 02111-1307, USA.
25
* Modified by the gedit Team, 2005-2007. See the AUTHORS file for a
26
* list of people on the gedit Team.
27
* See the ChangeLog files for a list of changes.
30
#ifndef __GEDIT_GNOMEVFS_DOCUMENT_SAVER_H__
31
#define __GEDIT_GNOMEVFS_DOCUMENT_SAVER_H__
33
#include <gedit/gedit-document-saver.h>
38
* Type checking and casting macros
40
#define GEDIT_TYPE_GNOMEVFS_DOCUMENT_SAVER (gedit_gnomevfs_document_saver_get_type())
41
#define GEDIT_GNOMEVFS_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GEDIT_TYPE_GNOMEVFS_DOCUMENT_SAVER, GeditGnomeVFSDocumentSaver))
42
#define GEDIT_GNOMEVFS_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GEDIT_TYPE_GNOMEVFS_DOCUMENT_SAVER, GeditGnomeVFSDocumentSaverClass))
43
#define GEDIT_IS_GNOMEVFS_DOCUMENT_SAVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GEDIT_TYPE_GNOMEVFS_DOCUMENT_SAVER))
44
#define GEDIT_IS_GNOMEVFS_DOCUMENT_SAVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_GNOMEVFS_DOCUMENT_SAVER))
45
#define GEDIT_GNOMEVFS_DOCUMENT_SAVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GEDIT_TYPE_GNOMEVFS_DOCUMENT_SAVER, GeditGnomeVFSDocumentSaverClass))
47
/* Private structure type */
48
typedef struct _GeditGnomeVFSDocumentSaverPrivate GeditGnomeVFSDocumentSaverPrivate;
51
* Main object structure
53
typedef struct _GeditGnomeVFSDocumentSaver GeditGnomeVFSDocumentSaver;
55
struct _GeditGnomeVFSDocumentSaver
57
GeditDocumentSaver saver;
60
GeditGnomeVFSDocumentSaverPrivate *priv;
66
typedef GeditDocumentSaverClass GeditGnomeVFSDocumentSaverClass;
71
GType gedit_gnomevfs_document_saver_get_type (void) G_GNUC_CONST;
75
#endif /* __GEDIT_GNOMEVFS_DOCUMENT_SAVER_H__ */