1 /* Unique - Single Instance Backendlication library
2  * uniquebackend-bacon.h: Unix domain socket implementation of UniqueBackend
3  *
4  * Copyright (C) 2007  Emmanuele Bassi  <ebassi@gnome.com>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19  * 02110-1301 USA
20  *
21  * Based on libbacon implementation in Totem
22  *      Copyright (C) 2003  Bastien Nocera
23  */
24 
25 #ifndef __UNIQUE_BACKEND_BACON_H__
26 #define __UNIQUE_BACKEND_BACON_H__
27 
28 #include <unique/uniquebackend.h>
29 
30 G_BEGIN_DECLS
31 
32 #define UNIQUE_TYPE_BACKEND_BACON               (unique_backend_bacon_get_type ())
33 #define UNIQUE_BACKEND_BACON(obj)               (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNIQUE_TYPE_BACKEND_BACON, UniqueBackendBacon))
34 #define UNIQUE_IS_BACKEND_BACON(obj)            (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNIQUE_TYPE_BACKEND_BACON))
35 #define UNIQUE_BACKEND_BACON_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST ((klass), UNIQUE_TYPE_BACKEND_BACON, UniqueBackendBaconClass))
36 #define UNIQUE_IS_BACKEND_BACON_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNIQUE_TYPE_BACKEND_BACON))
37 #define UNIQUE_BACKEND_BACON_GET_CLASS(obj)     (G_TYPE_INSTANCE_GET_CLASS ((obj), UNIQUE_TYPE_BACKEND_BACON, UniqueBackendBaconClass))
38 
39 typedef struct _UniqueBackendBacon       UniqueBackendBacon;
40 typedef struct _UniqueBackendBaconClass  UniqueBackendBaconClass;
41 
42 GType unique_backend_bacon_get_type (void) G_GNUC_CONST;
43 
44 G_END_DECLS
45 
46 #endif /* __UNIQUE_BACKEND_BACON_H__ */
47