2007-07-31 19:37:12 +04:00
|
|
|
/*
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Evoke, head honcho of everything
|
|
|
|
* Part of Equinox Desktop Environment (EDE).
|
2008-10-08 17:22:45 +04:00
|
|
|
* Copyright (c) 2008 EDE Authors.
|
2007-07-31 19:37:12 +04:00
|
|
|
*
|
|
|
|
* This program is licensed under terms of the
|
|
|
|
* GNU General Public License version 2 or newer.
|
|
|
|
* See COPYING for details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LOGOUT_H__
|
|
|
|
#define __LOGOUT_H__
|
|
|
|
|
2008-10-08 17:22:45 +04:00
|
|
|
#define LOGOUT_RET_CANCEL -1
|
|
|
|
#define LOGOUT_RET_LOGOUT 0
|
|
|
|
#define LOGOUT_RET_RESTART 1
|
|
|
|
#define LOGOUT_RET_SHUTDOWN 2
|
2007-07-31 19:37:12 +04:00
|
|
|
|
2008-10-08 17:22:45 +04:00
|
|
|
#define LOGOUT_OPT_RESTART (1 << 1)
|
|
|
|
#define LOGOUT_OPT_SHUTDOWN (1 << 2)
|
|
|
|
|
|
|
|
int logout_dialog(int screen_w, int screen_h, int opt);
|
2007-07-31 19:37:12 +04:00
|
|
|
|
|
|
|
#endif
|