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

« back to all changes in this revision

Viewing changes to src/session-config.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) 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 SESSION_CONFIG_H_
 
13
#define SESSION_CONFIG_H_
 
14
 
 
15
#include <glib-object.h>
 
16
 
 
17
G_BEGIN_DECLS
 
18
 
 
19
#define SESSION_CONFIG_TYPE           (session_config_get_type())
 
20
#define SESSION_CONFIG(obj)           (G_TYPE_CHECK_INSTANCE_CAST ((obj), SESSION_CONFIG_TYPE, SessionConfig))
 
21
#define SESSION_CONFIG_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), SESSION_CONFIG_TYPE, SessionConfigClass))
 
22
#define SESSION_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SESSION_CONFIG_TYPE, SessionConfigClass))
 
23
 
 
24
typedef struct SessionConfigPrivate SessionConfigPrivate;
 
25
 
 
26
typedef struct
 
27
{
 
28
    GObject               parent_instance;
 
29
    SessionConfigPrivate *priv;
 
30
} SessionConfig;
 
31
 
 
32
typedef struct
 
33
{
 
34
    GObjectClass parent_class;
 
35
} SessionConfigClass;
 
36
 
 
37
GType session_config_get_type (void);
 
38
 
 
39
SessionConfig *session_config_new_from_file (const gchar *filename, GError **error);
 
40
 
 
41
const gchar *session_config_get_command (SessionConfig *config);
 
42
 
 
43
const gchar *session_config_get_session_type (SessionConfig *config);
 
44
 
 
45
const gchar *session_config_get_desktop_name (SessionConfig *config);
 
46
 
 
47
G_END_DECLS
 
48
 
 
49
#endif /* SESSION_CONFIG_H_ */