1 /*
2  *  Copyright (C) 2007 Marc Pavot <marc.pavot@gmail.com>
3  *
4  *  This program is free software; you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License as published by
6  *  the Free Software Foundation; either version 2, or (at your option)
7  *  any later version.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software
16  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17  *
18  */
19 
20 #ifndef __ARIO_FIRSTLAUNCH_H
21 #define __ARIO_FIRSTLAUNCH_H
22 
23 #include <gtk/gtk.h>
24 
25 G_BEGIN_DECLS
26 
27 #define TYPE_ARIO_FIRSTLAUNCH         (ario_firstlaunch_get_type ())
28 #define ARIO_FIRSTLAUNCH(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ARIO_FIRSTLAUNCH, ArioFirstlaunch))
29 #define ARIO_FIRSTLAUNCH_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), TYPE_ARIO_FIRSTLAUNCH, ArioFirstlaunchClass))
30 #define IS_ARIO_FIRSTLAUNCH(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ARIO_FIRSTLAUNCH))
31 #define IS_ARIO_FIRSTLAUNCH_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ARIO_FIRSTLAUNCH))
32 #define ARIO_FIRSTLAUNCH_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ARIO_FIRSTLAUNCH, ArioFirstlaunchClass))
33 
34 typedef struct ArioFirstlaunchPrivate ArioFirstlaunchPrivate;
35 
36 /*
37  * First launch assistant is used when a user launches Ario for the
38  * first time. This assistant is used to configure a few mandatory
39  * options like the creation of a profile
40  */
41 typedef struct
42 {
43         GtkAssistant parent;
44 
45         ArioFirstlaunchPrivate *priv;
46 } ArioFirstlaunch;
47 
48 typedef struct
49 {
50         GtkAssistantClass parent_class;
51 } ArioFirstlaunchClass;
52 
53 GType                   ario_firstlaunch_get_type     (void) G_GNUC_CONST;
54 
55 ArioFirstlaunch *       ario_firstlaunch_new          (GtkApplication *app);
56 
57 G_END_DECLS
58 
59 #endif /* __ARIO_FIRSTLAUNCH_H */
60