Mercurial > projects > xinhibit-applet
annotate xia-icon.h @ 15:3457a401e685
Add NEWS file
author | Guido Berhoerster <guido+xinhibit-applet@berhoerster.name> |
---|---|
date | Fri, 23 Jan 2015 10:58:04 +0100 |
parents | dd1e5ae679f6 |
children | cb21006b64c7 |
rev | line source |
---|---|
0
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
1 /* |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
2 * Copyright (C) 2013 Guido Berhoerster <guido+xinhibit-applet@berhoerster.name> |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
3 * |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
4 * Permission is hereby granted, free of charge, to any person obtaining |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
5 * a copy of this software and associated documentation files (the |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
6 * "Software"), to deal in the Software without restriction, including |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
7 * without limitation the rights to use, copy, modify, merge, publish, |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
8 * distribute, sublicense, and/or sell copies of the Software, and to |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
9 * permit persons to whom the Software is furnished to do so, subject to |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
10 * the following conditions: |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
11 * |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
12 * The above copyright notice and this permission notice shall be included |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
13 * in all copies or substantial portions of the Software. |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
14 * |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
16 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
18 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
19 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
20 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
21 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
22 */ |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
23 |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
24 #ifndef __XIA_ICON_H |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
25 #define __XIA_ICON_H |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
26 |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
27 #include <glib-object.h> |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
28 #include <gtk/gtk.h> |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
29 |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
30 G_BEGIN_DECLS |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
31 |
13
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
32 #define XIA_TYPE_ICON (xia_icon_get_type()) |
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
33 #define XIA_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \ |
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
34 XIA_TYPE_ICON, XiaIcon) |
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
35 #define XIA_IS_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),\ |
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
36 XIA_TYPE_ICON)) |
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
37 #define XIA_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),\ |
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
38 XIA_TYPE_ICON, XiaIconClass)) |
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
39 #define XIA_IS_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),\ |
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
40 XIA_TYPE_ICON)) |
0
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
41 #define XIA_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), \ |
13
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
42 XIA_TYPE_ICON, XiaIconClass)) |
0
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
43 |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
44 typedef struct _XiaIcon XiaIcon; |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
45 typedef struct _XiaIconClass XiaIconClass; |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
46 typedef struct _XiaIconPrivate XiaIconPrivate; |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
47 |
13
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
48 struct _XiaIcon { |
0
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
49 GObject parent_instance; |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
50 XiaIconPrivate *priv; |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
51 }; |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
52 |
13
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
53 struct _XiaIconClass { |
0
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
54 GObjectClass parent_class; |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
55 }; |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
56 |
14
dd1e5ae679f6
Add missing prototypes
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
13
diff
changeset
|
57 GType xia_icon_get_type(void) G_GNUC_CONST; |
13
14f31e92372f
Fix style
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
0
diff
changeset
|
58 XiaIcon *xia_icon_new(void); |
0
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
59 |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
60 G_END_DECLS |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
61 |
9a16bf50daba
Initial revision
Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
parents:
diff
changeset
|
62 #endif /* __XIA_ICON_H */ |