~lightdm-team/lightdm/1.4

1 by robert.ancell at gmail
Compiles and does something
1
/*
19 by robert.ancell at gmail
Change copyright
2
 * Copyright (C) 2010 Robert Ancell.
1 by robert.ancell at gmail
Compiles and does something
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 _DISPLAY_MANAGER_H_
13
#define _DISPLAY_MANAGER_H_
14
15
#include <glib-object.h>
16
#include "display.h"
17
18
G_BEGIN_DECLS
19
20
#define DISPLAY_MANAGER_TYPE (display_manager_get_type())
21
#define DISPLAY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DISPLAY_MANAGER_TYPE, DisplayManager));
22
23
typedef struct DisplayManagerPrivate DisplayManagerPrivate;
24
25
typedef struct
26
{
27
    GObject         parent_instance;
28
    DisplayManagerPrivate *priv;
29
} DisplayManager;
30
31
typedef struct
32
{
32 by robert.ancell at gmail
Able to configure and change sessions
33
    GObjectClass parent_class;
34
35
    void (*display_added)(DisplayManager *manager, Display *display);
1 by robert.ancell at gmail
Compiles and does something
36
} DisplayManagerClass;
37
38
GType display_manager_get_type (void);
39
45 by robert.ancell at gmail
Implement configuration of greeter user
40
DisplayManager *display_manager_new (GKeyFile *config);
1 by robert.ancell at gmail
Compiles and does something
41
354 by robert.ancell at canonical
Use GDBus instead of dbus-glib
42
Display *display_manager_add_display (DisplayManager *manager);
224 by robert.ancell at canonical
Added AddDisplay() API
43
354 by robert.ancell at canonical
Use GDBus instead of dbus-glib
44
void display_manager_switch_to_user (DisplayManager *manager, char *username);
120 by robert.ancell at gmail
Move code around
45
493 by Robert Ancell
Start laying foundations for guest accounts
46
void display_manager_switch_to_guest (DisplayManager *manager);
47
120 by robert.ancell at gmail
Move code around
48
void display_manager_start (DisplayManager *manager);
14 by robert.ancell at gmail
Register display as separate D-Bus object, add Manager object
49
1 by robert.ancell at gmail
Compiles and does something
50
G_END_DECLS
51
52
#endif /* _DISPLAY_MANAGER_H_ */