Back to index

lightdm  1.3.2
xsession.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2010-2011 Robert Ancell.
00003  * Author: Robert Ancell <robert.ancell@canonical.com>
00004  * 
00005  * This program is free software: you can redistribute it and/or modify it under
00006  * the terms of the GNU General Public License as published by the Free Software
00007  * Foundation, either version 3 of the License, or (at your option) any later
00008  * version. See http://www.gnu.org/copyleft/gpl.html the full text of the
00009  * license.
00010  */
00011 
00012 #ifndef _XSESSION_H_
00013 #define _XSESSION_H_
00014 
00015 #include "session.h"
00016 #include "xserver.h"
00017 
00018 G_BEGIN_DECLS
00019 
00020 #define XSESSION_TYPE (xsession_get_type())
00021 #define XSESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), XSESSION_TYPE, XSession))
00022 
00023 typedef struct XSessionPrivate XSessionPrivate;
00024 
00025 typedef struct
00026 {
00027     Session          parent_instance;
00028     XSessionPrivate *priv;
00029 } XSession;
00030 
00031 typedef struct
00032 {
00033     SessionClass parent_class;
00034 } XSessionClass;
00035 
00036 GType xsession_get_type (void);
00037 
00038 XSession *xsession_new (XServer *xserver);
00039 
00040 G_END_DECLS
00041 
00042 #endif /* _XSESSION_H_ */