~ubuntu-branches/ubuntu/trusty/gtkhtml3.14/trusty-proposed

« back to all changes in this revision

Viewing changes to components/html-editor/persist-stream.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-03-13 11:26:39 UTC
  • Revision ID: james.westby@ubuntu.com-20070313112639-5calgv5774i4f95v
Tags: upstream-3.14.0
ImportĀ upstreamĀ versionĀ 3.14.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 
2
/* This file is part of the GtkHTML library
 
3
 
 
4
   Copyright (C) 2002 Ximian, Inc.
 
5
   Authors:           Radek Doulik (rodo@ximian.com)
 
6
 
 
7
   This library is free software; you can redistribute it and/or
 
8
   modify it under the terms of the GNU Library General Public
 
9
   License as published by the Free Software Foundation; either
 
10
   version 2 of the License, or (at your option) any later version.
 
11
 
 
12
   This library is distributed in the hope that it will be useful,
 
13
   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
   MERCHcANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
   Library General Public License for more details.
 
16
 
 
17
   You should have received a copy of the GNU Library General Public License
 
18
   along with this library; see the file COPYING.LIB.  If not, write to
 
19
   the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
20
   Boston, MA 02111-1307, USA.
 
21
*/
 
22
 
 
23
#ifndef _GTK_HTML_PERSIST_STREAM_H_
 
24
#define _GTK_HTML_PERSIST_STREAM_H_
 
25
 
 
26
#include <bonobo/bonobo-persist.h>
 
27
#include "gtkhtml-types.h"
 
28
 
 
29
G_BEGIN_DECLS
 
30
 
 
31
struct _GtkHTMLPersistStream;
 
32
typedef struct _GtkHTMLPersistStream GtkHTMLPersistStream;
 
33
typedef struct _GtkHTMLPersistStreamPrivate GtkHTMLPersistStreamPrivate;
 
34
 
 
35
#define GTK_HTML_TYPE_PERSIST_STREAM        (gtk_html_persist_stream_get_type ())
 
36
#define GTK_HTML_PERSIST_STREAM(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_HTML_TYPE_PERSIST_STREAM, \
 
37
                                                                         GtkHTMLPersistStream))
 
38
#define GTK_HTML_PERSIST_STREAM_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), GTK_HTML_TYPE_PERSIST_STREAM, \
 
39
                                                                     GtkHTMLPersistStreamClass))
 
40
#define GTK_HTML_IS_PERSIST_STREAM(o)       (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_HTML_TYPE_PERSIST_STREAM))
 
41
#define GTK_HTML_IS_PERSIST_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_HTML_TYPE_PERSIST_STREAM))
 
42
 
 
43
struct _GtkHTMLPersistStream {
 
44
        BonoboPersist parent;
 
45
 
 
46
        GtkHTML *html;
 
47
};
 
48
 
 
49
typedef struct {
 
50
        BonoboPersistClass parent_class;
 
51
 
 
52
        POA_Bonobo_PersistStream__epv epv;
 
53
 
 
54
} GtkHTMLPersistStreamClass;
 
55
 
 
56
GType            gtk_html_persist_stream_get_type (void);
 
57
BonoboObject    *gtk_html_persist_stream_new      (GtkHTML *html);
 
58
 
 
59
G_END_DECLS
 
60
 
 
61
#endif