~ubuntu-branches/debian/stretch/lightdm/stretch

« back to all changes in this revision

Viewing changes to src/x-server-local.h

  • Committer: Package Import Robot
  • Author(s): Yves-Alexis Perez
  • Date: 2013-10-20 20:45:55 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20131020204555-0ht6bt0lw5bof9fn
Tags: 1.8.2-1
* New upstream release.
* debian/patches:
  - 01_set-default-path, 02_default-config, 05_debianize-pam-files
    refreshed.
  - 03_quit-plymouth disabled for now, to check if problem is really fixed
    upstream.
* debian/control:
  - rename liblightdm-qt-2-0 to liblightdm-qt-3-0 to match updated soname.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2010-2011 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 X_SERVER_LOCAL_H_
 
13
#define X_SERVER_LOCAL_H_
 
14
 
 
15
#include "x-server.h"
 
16
 
 
17
G_BEGIN_DECLS
 
18
 
 
19
#define X_SERVER_LOCAL_TYPE    (x_server_local_get_type())
 
20
#define X_SERVER_LOCAL(obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), X_SERVER_LOCAL_TYPE, XServerLocal))
 
21
#define IS_X_SERVER_LOCAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), X_SERVER_LOCAL_TYPE))
 
22
 
 
23
typedef struct XServerLocalPrivate XServerLocalPrivate;
 
24
 
 
25
typedef struct
 
26
{
 
27
    XServer              parent_instance;
 
28
    XServerLocalPrivate *priv;
 
29
} XServerLocal;
 
30
 
 
31
typedef struct
 
32
{
 
33
    XServerClass parent_class;
 
34
 
 
35
    void (*ready)(XServerLocal *server);
 
36
} XServerLocalClass;
 
37
 
 
38
guint x_server_local_get_unused_display_number (void);
 
39
 
 
40
void x_server_local_release_display_number (guint display_number);
 
41
 
 
42
GType x_server_local_get_type (void);
 
43
 
 
44
XServerLocal *x_server_local_new (void);
 
45
 
 
46
void x_server_local_set_command (XServerLocal *server, const gchar *command);
 
47
 
 
48
void x_server_local_set_vt (XServerLocal *server, gint vt);
 
49
 
 
50
void x_server_local_set_config (XServerLocal *server, const gchar *path);
 
51
 
 
52
void x_server_local_set_layout (XServerLocal *server, const gchar *layout);
 
53
 
 
54
void x_server_local_set_xdg_seat (XServerLocal *server, const gchar *xdg_seat);
 
55
 
 
56
void x_server_local_set_allow_tcp (XServerLocal *server, gboolean allow_tcp);
 
57
 
 
58
void x_server_local_set_xdmcp_server (XServerLocal *server, const gchar *hostname);
 
59
 
 
60
const gchar *x_server_local_get_xdmcp_server (XServerLocal *server);
 
61
 
 
62
void x_server_local_set_xdmcp_port (XServerLocal *server, guint port);
 
63
 
 
64
guint x_server_local_get_xdmcp_port (XServerLocal *server);
 
65
 
 
66
void x_server_local_set_xdmcp_key (XServerLocal *server, const gchar *key);
 
67
 
 
68
void x_server_local_set_background (XServerLocal *server, const gchar *background);
 
69
 
 
70
void x_server_local_set_mir_id (XServerLocal *server, const gchar *id);
 
71
 
 
72
const gchar *x_server_local_get_mir_id (XServerLocal *server);
 
73
 
 
74
void x_server_local_set_mir_socket (XServerLocal *server, const gchar *socket);
 
75
 
 
76
const gchar *x_server_local_get_authority_file_path (XServerLocal *server);
 
77
 
 
78
G_END_DECLS
 
79
 
 
80
#endif /* X_SERVER_LOCAL_H_ */