add WINIX_PLUGIN_QUIT and WINIX_QUIT plugins messages
While here: - rename WINIX_CLOSE to WINIX_PREPARE_TO_CLOSE
This commit is contained in:
@@ -107,10 +107,14 @@ namespace Winix
|
||||
// in l1 you have the old session id
|
||||
#define WINIX_SESSION_REMOVED 30029
|
||||
|
||||
// the winix is closing
|
||||
// the winix is being closing
|
||||
// there is not any sessions available (cur->session is null)
|
||||
// session pointer is null
|
||||
#define WINIX_CLOSE 30040
|
||||
#define WINIX_PREPARE_TO_CLOSE 30040
|
||||
|
||||
// winix has been closes, all other threads are stopped now, this is a last message for the main thread
|
||||
// there is not any sessions available (cur->session is null)
|
||||
#define WINIX_QUIT 30041
|
||||
|
||||
// preparing to remove a file (rm function)
|
||||
// in p1 you have a pointer to the Item struct (file)
|
||||
@@ -142,6 +146,11 @@ namespace Winix
|
||||
// session pointer is null
|
||||
#define WINIX_PLUGIN_INIT 30080
|
||||
|
||||
// winix is ready to remove a plugin
|
||||
// you can clear some plugin data here e.g. controllers
|
||||
// all other threads are stopped now
|
||||
#define WINIX_PLUGIN_QUIT 30081
|
||||
|
||||
// here you can add your own mount point, file systems, mount parameters
|
||||
// for adding a new mount type call: system->mounts.AddMountType("new_mount_name")
|
||||
// session pointer is null
|
||||
|
||||
Reference in New Issue
Block a user