root/trunk/third/nautilus/components/rpmview/nautilus-rpm-view.h @ 15547

Revision 15547, 2.4 KB (checked in by ghudson, 9 years ago)

This commit was generated by cvs2svn to compensate for changes in r15546,
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 * Copyright (C) 2000 Eazel, Inc
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
19 *
20 * Author: Andy Hertzfeld
21 */
22
23/* header file for the rpm view component */
24
25#ifndef NAUTILUS_RPM_VIEW_H
26#define NAUTILUS_RPM_VIEW_H
27
28#ifdef HAVE_CONFIG_H
29#  include <config.h>
30#endif
31
32#include <libnautilus/nautilus-view.h>
33#include <gnome.h>
34
35typedef struct NautilusRPMView      NautilusRPMView;
36typedef struct NautilusRPMViewClass NautilusRPMViewClass;
37
38#define NAUTILUS_TYPE_RPM_VIEW            (nautilus_rpm_view_get_type ())
39#define NAUTILUS_RPM_VIEW(obj)            (GTK_CHECK_CAST ((obj), NAUTILUS_TYPE_RPM_VIEW, NautilusRPMView))
40#define NAUTILUS_RPM_VIEW_CLASS(klass)    (GTK_CHECK_CLASS_CAST ((klass), NAUTILUS_TYPE_RPM_VIEW, NautilusRPMViewClass))
41#define NAUTILUS_IS_RPM_VIEW(obj)         (GTK_CHECK_TYPE ((obj), NAUTILUS_TYPE_RPM_VIEW))
42#define NAUTILUS_IS_RPM_VIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), NAUTILUS_TYPE_RPM_VIEW))
43
44typedef struct NautilusRPMViewDetails NautilusRPMViewDetails;
45
46struct NautilusRPMView {
47        GtkEventBox parent;
48        NautilusRPMViewDetails *details;
49};
50
51struct NautilusRPMViewClass {
52        GtkEventBoxClass parent_class;
53};
54
55/* GtkObject support */
56GtkType       nautilus_rpm_view_get_type          (void);
57
58/* Component embedding support */
59NautilusView *nautilus_rpm_view_get_nautilus_view (NautilusRPMView *view);
60
61/* URI handling */
62char*         nautilus_rpm_view_get_uri           (NautilusRPMView *view);
63void          nautilus_rpm_view_load_uri          (NautilusRPMView *view,
64                                                   const char      *uri);
65gboolean      nautilus_rpm_view_get_installed     (NautilusRPMView *view);
66NautilusView* nautilus_rpm_view_get_view          (NautilusRPMView *view);
67
68#endif /* NAUTILUS_RPM_VIEW_H */
Note: See TracBrowser for help on using the browser.