]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blob - src/surfaceflinger-server.h
Move string free
[sojka/lightdm.git] / src / surfaceflinger-server.h
1 /*
2  * Copyright (C) 2013 Robert Ancell.
3  * Author: Robert Ancell <robert.ancell@canonical.com>
4  * 
5  * This program is free software: you can redistribute it and/or modify it under
6  * the terms of the GNU General Public License as published by the Free Software
7  * Foundation, either version 3 of the License, or (at your option) any later
8  * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
9  * license.
10  */
11
12 #ifndef SURFACEFLINGER_SERVER_H_
13 #define SURFACEFLINGER_SERVER_H_
14
15 #include <glib-object.h>
16 #include "display-server.h"
17
18 G_BEGIN_DECLS
19
20 #define SURFACEFLINGER_SERVER_TYPE (surfaceflinger_server_get_type())
21 #define SURFACEFLINGER_SERVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SURFACEFLINGER_SERVER_TYPE, SurfaceflingerServer))
22 #define SURFACEFLINGER_SERVER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), SURFACEFLINGER_SERVER_TYPE, SurfaceflingerServerClass))
23 #define SURFACEFLINGER_SERVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SURFACEFLINGER_SERVER_TYPE, SurfaceflingerServerClass))
24 #define IS_SURFACEFLINGER_SERVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SURFACEFLINGER_SERVER_TYPE))
25
26 typedef struct SurfaceflingerServerPrivate SurfaceflingerServerPrivate;
27
28 typedef struct
29 {
30     DisplayServer     parent_instance;
31     SurfaceflingerServerPrivate *priv;
32 } SurfaceflingerServer;
33
34 typedef struct
35 {
36     DisplayServerClass parent_class;
37 } SurfaceflingerServerClass;
38
39 GType surfaceflinger_server_get_type (void);
40
41 SurfaceflingerServer *surfaceflinger_server_new (void);
42
43 const gchar *surfaceflinger_server_get_id (SurfaceflingerServer *server);
44
45 G_END_DECLS
46
47 #endif /* SURFACEFLINGER_SERVER_H_ */