1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

New shutdown.h file

The new shutdown.h file includes the shutdown modes and the functions
to shutdown Window Maker.

The function definitios were moved from funcs.h and the struct WShutdownMode
from WindowMaker.h.

Now, externs are not needed, only include shutdown.h
This commit is contained in:
Rodolfo García Peñas (kix)
2013-01-08 09:08:26 +01:00
committed by Carlos R. Mafra
parent b71f2c30fd
commit 68208a01a0
7 changed files with 35 additions and 12 deletions

View File

@@ -87,16 +87,6 @@ typedef struct WObjDescriptor {
void *parent; /* parent object (WWindow or WMenu) */
} WObjDescriptor;
/* shutdown modes */
typedef enum {
WSExitMode,
WSLogoutMode,
WSKillMode,
WSRestartPreparationMode
} WShutdownMode;
/* internal buttons */
#define WBUT_CLOSE 0
#define WBUT_BROKENCLOSE 1