Debian Codegraph @

peas-demo/plugins/secondtime/second-time.h

raw
1 /*
2 * second-time.h
3 * This file is part of libpeas
4 *
5 * Copyright (C) 2010 Steve Frécinaux
6 *
7 * libpeas is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * libpeas 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 GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21 #ifndef __PEASDEMO_SECOND_TIME_H__
22 #define __PEASDEMO_SECOND_TIME_H__
23
24 #include <gtk/gtk.h>
25 #include <libpeas/peas.h>
26
27 G_BEGIN_DECLS
28
29 #define PEASDEMO_TYPE_SECOND_TIME (peasdemo_second_time_get_type ())
30 #define PEASDEMO_SECOND_TIME(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), PEASDEMO_TYPE_SECOND_TIME, PeasDemoSecondTime))
31 #define PEASDEMO_SECOND_TIME_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), PEASDEMO_TYPE_SECOND_TIME, PeasDemoSecondTime))
32 #define PEASDEMO_IS_SECOND_TIME(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), PEASDEMO_TYPE_SECOND_TIME))
33 #define PEASDEMO_IS_SECOND_TIME_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), PEASDEMO_TYPE_SECOND_TIME))
34 #define PEASDEMO_SECOND_TIME_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), PEASDEMO_TYPE_SECOND_TIME, PeasDemoSecondTimeClass))
35
36 typedef struct _PeasDemoSecondTime PeasDemoSecondTime;
37 typedef struct _PeasDemoSecondTimeClass PeasDemoSecondTimeClass;
38
39 struct _PeasDemoSecondTime {
40 PeasExtensionBase parent_instance;
41
42 GtkWidget *window;
43 GtkWidget *label;
44 };
45
46 struct _PeasDemoSecondTimeClass {
47 PeasExtensionBaseClass parent_class;
48 };
49
50 GType peasdemo_second_time_get_type (void) G_GNUC_CONST;
51 G_MODULE_EXPORT void peas_register_types (PeasObjectModule *module);
52
53 G_END_DECLS
54
55 #endif /* __PEASDEMO_SECOND_TIME_H__ */