Implemented crossplatform automatic startup management.
[udpgate.git] / src / startup-debian.h
1 /* $Id$
2  * Include file for UDP Gateway utility startup_debian scripts inheritance support
3  * Copyright (C) 2004 Jan Kratochvil <project-udpgate@jankratochvil.net>
4  * 
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; exactly version 2 of June 1991 is required
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 _UDPGATE_STARTUP_DEBIAN_H
21 #define _UDPGATE_STARTUP_DEBIAN_H 1
22
23
24 #include <glib/gtypes.h>
25 #include <glib-object.h>
26 #include "startup.h"
27
28
29 G_BEGIN_DECLS
30
31 #define UDPGATE_TYPE_STARTUP_DEBIAN (udpgate_startup_debian_get_type())
32 #define UDPGATE_STARTUP_DEBIAN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),UDPGATE_TYPE_STARTUP_DEBIAN,UdpgateStartupDebian))
33 #define UDPGATE_STARTUP_DEBIAN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),UDPGATE_TYPE_STARTUP_DEBIAN,UdpgateStartupDebianClass))
34 #define UDPGATE_IS_STARTUP_DEBIAN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),UDPGATE_TYPE_STARTUP_DEBIAN))
35 #define UDPGATE_IS_STARTUP_DEBIAN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),UDPGATE_TYPE_STARTUP_DEBIAN))
36 #define UDPGATE_STARTUP_DEBIAN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj),UDPGATE_TYPE_STARTUP_DEBIAN,UdpgateStartupDebianClass))
37
38 typedef struct _UdpgateStartupDebian UdpgateStartupDebian;
39 typedef struct _UdpgateStartupDebianClass UdpgateStartupDebianClass;
40
41 struct _UdpgateStartupDebian
42 {
43         UdpgateStartup parent_instance;
44 };
45
46 struct _UdpgateStartupDebianClass
47 {
48         UdpgateStartupClass parent_class;
49 };
50
51 GType udpgate_startup_debian_get_type(void) G_GNUC_CONST;
52 UdpgateStartupDebian *udpgate_startup_debian_new(void);
53
54 G_END_DECLS
55
56
57 #endif /* _UDPGATE_STARTUP_DEBIAN_H */