Commit 68005e5a authored by Bastien Nocera's avatar Bastien Nocera

manager: Split off GsmManagerLogoutMode enum

For use in gnome-settings-daemon through cut'n'paste.

https://bugzilla.gnome.org/show_bug.cgi?id=692430
parent 9d8b8000
......@@ -51,6 +51,7 @@ gnome_session_SOURCES = \
gsm-inhibitor-flag.h \
gsm-manager.c \
gsm-manager.h \
gsm-manager-logout-mode.h \
gsm-process-helper.c \
gsm-process-helper.h \
gsm-session-fill.c \
......
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*-
*
* Copyright (C) 2008 William Jon McCann <jmccann@redhat.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 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
#ifndef __GSM_MANAGER_LOGOUT_MODE_H
#define __GSM_MANAGER_LOGOUT_MODE_H
G_BEGIN_DECLS
typedef enum {
GSM_MANAGER_LOGOUT_MODE_NORMAL = 0,
GSM_MANAGER_LOGOUT_MODE_NO_CONFIRMATION,
GSM_MANAGER_LOGOUT_MODE_FORCE
} GsmManagerLogoutMode;
G_END_DECLS
#endif /* __GSM_MANAGER_LOGOUT_MODE_H */
......@@ -26,6 +26,7 @@
#include <dbus/dbus-glib.h>
#include "gsm-store.h"
#include "gsm-manager-logout-mode.h"
G_BEGIN_DECLS
......@@ -100,12 +101,6 @@ typedef enum
#define GSM_MANAGER_ERROR gsm_manager_error_quark ()
typedef enum {
GSM_MANAGER_LOGOUT_MODE_NORMAL = 0,
GSM_MANAGER_LOGOUT_MODE_NO_CONFIRMATION,
GSM_MANAGER_LOGOUT_MODE_FORCE
} GsmManagerLogoutMode;
GType gsm_manager_error_get_type (void);
#define GSM_MANAGER_TYPE_ERROR (gsm_manager_error_get_type ())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment