~ubuntu-branches/ubuntu/intrepid/gedit/intrepid-proposed

« back to all changes in this revision

Viewing changes to gedit/gedit-gnomevfs-document-saver.h

  • Committer: Bazaar Package Importer
  • Author(s): Aron Sisak
  • Date: 2007-08-01 12:06:47 UTC
  • mto: (2.1.2 lenny)
  • mto: This revision was merged to the branch mainline in revision 46.
  • Revision ID: james.westby@ubuntu.com-20070801120647-qjb6cc1ehv3ee1mx
Tags: upstream-2.19.3
Import upstream version 2.19.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * gedit-gnomevfs-document-saver.h
 
3
 * This file is part of gedit
 
4
 *
 
5
 * Copyright (C) 2005 - Paolo Maggi
 
6
 * Copyrhing (C) 2007 - Paolo Maggi, Steve Frécinaux
 
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 Place, Suite 330,
 
21
 * Boston, MA 02111-1307, USA.
 
22
 */
 
23
 
 
24
/*
 
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.
 
28
 */
 
29
 
 
30
#ifndef __GEDIT_GNOMEVFS_DOCUMENT_SAVER_H__
 
31
#define __GEDIT_GNOMEVFS_DOCUMENT_SAVER_H__
 
32
 
 
33
#include <gedit/gedit-document-saver.h>
 
34
 
 
35
G_BEGIN_DECLS
 
36
 
 
37
/*
 
38
 * Type checking and casting macros
 
39
 */
 
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))
 
46
 
 
47
/* Private structure type */
 
48
typedef struct _GeditGnomeVFSDocumentSaverPrivate GeditGnomeVFSDocumentSaverPrivate;
 
49
 
 
50
/*
 
51
 * Main object structure
 
52
 */
 
53
typedef struct _GeditGnomeVFSDocumentSaver GeditGnomeVFSDocumentSaver;
 
54
 
 
55
struct _GeditGnomeVFSDocumentSaver 
 
56
{
 
57
        GeditDocumentSaver saver;
 
58
 
 
59
        /*< private > */
 
60
        GeditGnomeVFSDocumentSaverPrivate *priv;
 
61
};
 
62
 
 
63
/*
 
64
 * Class definition
 
65
 */
 
66
typedef GeditDocumentSaverClass GeditGnomeVFSDocumentSaverClass;
 
67
 
 
68
/*
 
69
 * Public methods
 
70
 */
 
71
GType                    gedit_gnomevfs_document_saver_get_type (void) G_GNUC_CONST;
 
72
 
 
73
G_END_DECLS
 
74
 
 
75
#endif  /* __GEDIT_GNOMEVFS_DOCUMENT_SAVER_H__  */