Fixed typo in Czech translation
[yelp.git] / src / yelp-window.h
bloba13030683ef08e9fa01299acfb22f1bed72d11dc
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * Copyright (C) 2010 Shaun McCance <shaunm@gnome.org>
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.
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.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, see <http://www.gnu.org/licenses/>.
18 * Author: Shaun McCance <shaunm@gnome.org>
21 #ifndef __YELP_WINDOW_H__
22 #define __YELP_WINDOW_H__
24 #include <gtk/gtk.h>
26 #include "yelp-uri.h"
28 #define YELP_TYPE_WINDOW (yelp_window_get_type ())
29 #define YELP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), YELP_TYPE_WINDOW, YelpWindow))
30 #define YELP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), YELP_TYPE_WINDOW, YelpWindowClass))
31 #define YELP_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), YELP_TYPE_WINDOW))
32 #define YELP_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), YELP_TYPE_WINDOW))
34 typedef struct _YelpWindow YelpWindow;
35 typedef struct _YelpWindowClass YelpWindowClass;
37 struct _YelpWindow
39 GtkApplicationWindow parent;
42 struct _YelpWindowClass
44 GtkApplicationWindowClass parent_class;
47 GType yelp_window_get_type (void);
48 YelpWindow * yelp_window_new (YelpApplication *app);
49 void yelp_window_load_uri (YelpWindow *window,
50 YelpUri *uri);
51 YelpUri * yelp_window_get_uri (YelpWindow *window);
52 void yelp_window_get_geometry (YelpWindow *window,
53 gint *width,
54 gint *height);
56 #endif /* __YELP_WINDOW_H__ */