added: new plugin message: WINIX_PREPARE_USER_TO_LOGIN

a user will be logged in
        set PluginInfo::res to false (it is by default) to prevent logging the user
        directly after this message (if you do not return false)
        a WINIX_USER_LOGGED is sent
        in p1 you have a pointer to User struct
        (if at least one plugin returns false then the user will not be logged)



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@820 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2012-03-14 20:25:30 +00:00
parent 2712c57f15
commit b1b3cea64e
6 changed files with 61 additions and 31 deletions

View File

@@ -159,6 +159,14 @@
// this is from system->dirs so you should not change the item
#define WINIX_DIR_CONTENT_SORTED 30500
// a user will be logged in
// set PluginInfo::res to false (it is by default) to prevent logging the user
// directly after this message (if you do not return false)
// a WINIX_USER_LOGGED is sent
// in p1 you have a pointer to User struct
// (if at least one plugin returns false then the user will not be logged)
#define WINIX_PREPARE_USER_TO_LOGIN 30550
// a user has been logged
// send from 'login' winix function
// this message is also called when winix starts and reads sessions