source: trunk/third/yelp/src/yelp-view-index.h @ 18397

Revision 18397, 2.2 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18396, which included commits to RCS files with non-trunk default branches.
Line 
1/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2/*
3 * Copyright (C) 2001-2002 Mikael Hallendal <micke@codefactory.se>
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: Mikael Hallendal <micke@codefactory.se>
21 */
22
23#ifndef __YELP_VIEW_INDEX_H__
24#define __YELP_VIEW_INDEX_H__
25
26#include <gtk/gtkhpaned.h>
27#include <gtk/gtktreemodel.h>
28#include "yelp-section.h"
29
30#define YELP_TYPE_VIEW_INDEX        (yelp_view_index_get_type ())
31#define YELP_VIEW_INDEX(o)          (GTK_CHECK_CAST ((o), YELP_TYPE_VIEW_INDEX, YelpViewIndex))
32#define YELP_VIEW_INDEX_CLASS(k)    (GTK_CHECK_FOR_CAST((k), YELP_TYPE_VIEW_INDEX, YelpViewIndexClass))
33#define YELP_IS_VIEW_INDEX(o)       (GTK_CHECK_TYPE ((o), YELP_TYPE_VIEW_INDEX))
34#define YELP_IS_VIEW_INDEX_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), YELP_TYPE_VIEW_INDEX))
35
36typedef struct _YelpViewIndex        YelpViewIndex;
37typedef struct _YelpViewIndexClass   YelpViewIndexClass;
38typedef struct _YelpViewIndexPriv    YelpViewIndexPriv;
39
40struct _YelpViewIndex {
41        GtkHPaned          parent;
42       
43        YelpViewIndexPriv *priv;
44};
45
46struct _YelpViewIndexClass {
47        GtkHPanedClass    parent_class;
48
49        /* Signals */
50
51        void (*uri_selected)   (YelpViewIndex *view,
52                                YelpURI       *uri,
53                                gboolean       handled);
54};
55
56GType           yelp_view_index_get_type     (void);
57GtkWidget      *yelp_view_index_new          (GList            *index);
58
59void            yelp_view_index_show_uri     (YelpViewIndex    *view,
60                                              YelpURI          *uri,
61                                              GError          **error);
62
63#endif /* __YELP_VIEW_INDEX__ */
Note: See TracBrowser for help on using the repository browser.