Recognizes if input is ogg or not.
[xiph.git] / postfish / windowbutton.h
blobc902a352a404b4a233f75df988a5d772e1bc6699
1 /*
3 * postfish
4 *
5 * Copyright (C) 2002-2005 Monty
7 * Postfish is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
10 * any later version.
12 * Postfish is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with Postfish; see the file COPYING. If not, write to the
19 * Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
24 #ifndef __WINDOWBUTTON_H__
25 #define __WINDOWBUTTON_H__
27 #include <sys/time.h>
28 #include <time.h>
29 #include <glib.h>
30 #include <glib-object.h>
31 #include <gtk/gtkcheckbutton.h>
33 G_BEGIN_DECLS
35 #define WINDOWBUTTON_TYPE (windowbutton_get_type ())
36 #define WINDOWBUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WINDOWBUTTON_TYPE, Windowbutton))
37 #define WINDOWBUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WINDOWBUTTON_TYPE, WindowbuttonClass))
38 #define IS_WINDOWBUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WINDOWBUTTON_TYPE))
39 #define IS_WINDOWBUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WINDOWBUTTON_TYPE))
41 typedef struct _Windowbutton Windowbutton;
42 typedef struct _WindowbuttonClass WindowbuttonClass;
44 struct _Windowbutton{
46 GtkCheckButton frame;
50 struct _WindowbuttonClass{
52 GtkCheckButtonClass parent_class;
53 void (* windowbutton) (Windowbutton *m);
57 GType windowbutton_get_type (void);
58 GtkWidget* windowbutton_new (char *markup);
60 G_END_DECLS
62 #endif