annotate libaudacious/xentry.h @ 1370:f969fe246497 trunk

[svn] - make this a compile-time define
author nenolod
date Tue, 04 Jul 2006 00:48:43 -0700
parents cb178e5ad177
children f12d7e208b43
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
1 /* GTK - The GIMP Toolkit
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
3 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
4 * This library is free software; you can redistribute it and/or
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
5 * modify it under the terms of the GNU Library General Public
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
6 * License as published by the Free Software Foundation; either
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
7 * version 2 of the License, or (at your option) any later version.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
8 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
9 * This library is distributed in the hope that it will be useful,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 * Library General Public License for more details.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
13 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14 * You should have received a copy of the GNU Library General Public
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
15 * License along with this library; if not, write to the
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
17 * Boston, MA 02111-1307, USA.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
18 */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
19
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
20 /*
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
21 * Modified by the GTK+ Team and others 1997-1999. See the AUTHORS
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
22 * file for a list of people on the GTK+ Team. See the ChangeLog
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
23 * files for a list of changes. These files are distributed with
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
24 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
25 */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
26
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
27 #ifndef XMMS_ENTRY_H
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
28 #define XMMS_ENTRY_H
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
29
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
30
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
31 #include <gdk/gdk.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
32 #include <gtk/gtkentry.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
33
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
34
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
35 #ifdef __cplusplus
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
36 extern "C" {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
37 #endif /* __cplusplus */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
38
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
39
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
40 #define XMMS_TYPE_ENTRY (xmms_entry_get_type())
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
41 #define XMMS_ENTRY(obj) (GTK_CHECK_CAST((obj), XMMS_TYPE_ENTRY, XmmsEntry))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
42 #define XMMS_ENTRY_CLASS(klass) (GTK_CHECK_CLASS_CAST((klass), XMMS_TYPE_ENTRY, XmmsEntryClass))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
43 #define XMMS_IS_ENTRY(obj) (GTK_CHECK_TYPE((obj), XMMS_TYPE_ENTRY))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
44 #define XMMS_IS_ENTRY_CLASS(klass) (GTK_CHECK_CLASS_TYPE((klass), XMMS_TYPE_ENTRY))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
45
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
46
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
47 typedef struct _XmmsEntry XmmsEntry;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
48 typedef struct _XmmsEntryClass XmmsEntryClass;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
49
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
50 struct _XmmsEntry {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
51 GtkEntry entry;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
52 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
53
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
54 struct _XmmsEntryClass {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
55 GtkEntryClass parent_class;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
56 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
57
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
58 GtkType xmms_entry_get_type(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
59 GtkWidget *xmms_entry_new(void);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
60
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
61 #ifdef __cplusplus
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
62 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
63 #endif /* __cplusplus */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
64 #endif /* __GTK_ENTRY_H__ */