]> rtime.felk.cvut.cz Git - sojka/lightdm.git/blobdiff - src/session-config.h
Load all users only when really needed
[sojka/lightdm.git] / src / session-config.h
index 2fd0efec7081aa4b831392f0320ccf2ef81e4941..8a86a5fb6b4214a4104f19ceace45ed06a7d76d8 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (C) 2013 Robert Ancell.
  * Author: Robert Ancell <robert.ancell@canonical.com>
- * 
+ *
  * This program is free software: you can redistribute it and/or modify it under
  * the terms of the GNU General Public License as published by the Free Software
  * Foundation, either version 3 of the License, or (at your option) any later
@@ -36,13 +36,15 @@ typedef struct
 
 GType session_config_get_type (void);
 
-SessionConfig *session_config_new_from_file (const gchar *filename, GError **error);
+SessionConfig *session_config_new_from_file (const gchar *filename, const gchar *default_session_type, GError **error);
 
 const gchar *session_config_get_command (SessionConfig *config);
 
 const gchar *session_config_get_session_type (SessionConfig *config);
 
-const gchar *session_config_get_desktop_name (SessionConfig *config);
+gchar **session_config_get_desktop_names (SessionConfig *config);
+
+gboolean session_config_get_allow_greeter (SessionConfig *config);
 
 G_END_DECLS