source: trunk/third/nautilus/components/adapter/nautilus-adapter.h @ 16900

Revision 16900, 2.0 KB checked in by amb, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16899, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
2
3/*
4 * Copyright (C) 2000 Eazel, Inc
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 2 of the
9 * License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 * General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public
17 * License along with this program; if not, write to the
18 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 * Boston, MA 02111-1307, USA.
20 *
21 * Author: Maciej Stachowiak <mjs@eazel.com>
22 */
23
24/* nautilus-adapter.h - Adapter component.
25 */
26
27#ifndef NAUTILUS_ADAPTER_H
28#define NAUTILUS_ADAPTER_H
29
30#include <libnautilus/nautilus-view.h>
31
32#define NAUTILUS_TYPE_ADAPTER             (nautilus_adapter_get_type ())
33#define NAUTILUS_ADAPTER(obj)             (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_ADAPTER, NautilusAdapter))
34#define NAUTILUS_ADAPTER_CLASS(klass)     (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_ADAPTER, NautilusAdapterClass))
35#define NAUTILUS_IS_ADAPTER(obj)          (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_ADAPTER))
36#define NAUTILUS_IS_ADAPTER_CLASS(klass)  (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_ADAPTER))
37
38typedef struct NautilusAdapterDetails NautilusAdapterDetails;
39
40typedef struct {
41        GtkObject parent;
42        NautilusAdapterDetails *details;
43} NautilusAdapter;
44
45typedef struct {
46        GtkObjectClass parent;
47} NautilusAdapterClass;
48
49/* GtkObject support */
50GtkType          nautilus_adapter_get_type          (void);
51
52NautilusAdapter *nautilus_adapter_new               (Bonobo_Unknown component);
53NautilusView    *nautilus_adapter_get_nautilus_view (NautilusAdapter *adapter);
54
55#endif /* NAUTILUS_ADAPTER_H */
Note: See TracBrowser for help on using the repository browser.