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:
committed by
Carlos R. Mafra
parent
b71f2c30fd
commit
68208a01a0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user