diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-27 13:58:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-27 13:58:25 +0000 |
commit | 81e8caf42867b65677efe2bffaa52ecff7303c3a (patch) | |
tree | 846f06ef51787c58205cd87546976bda29556680 /include | |
parent | d9da7f147fbe91d2e70721de96907ae1d273b591 (diff) |
no more pluginLink in load()
git-svn-id: http://svn.miranda-ng.org/main/trunk@652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/m_protomod.h | 2 | ||||
-rw-r--r-- | include/m_userinfo.h | 2 | ||||
-rw-r--r-- | include/newpluginapi.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/m_protomod.h b/include/m_protomod.h index bce86385d6..887e673625 100644 --- a/include/m_protomod.h +++ b/include/m_protomod.h @@ -36,7 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //wParam=0
//lParam=(PROTOCOLDESCRIPTOR*)&descriptor
//returns 0 on success, nonzero on failure
-//This service must be called in your module's Load() routine.
+//This service must be called in your module's Load(void) routine.
//descriptor.type can be a value other than the PROTOTYPE_ constants specified
//above to provide more precise positioning information for the contact
//protocol lists. It is strongly recommended that you give values relative to
diff --git a/include/m_userinfo.h b/include/m_userinfo.h index 0456fb70e8..e19b08211c 100644 --- a/include/m_userinfo.h +++ b/include/m_userinfo.h @@ -39,7 +39,7 @@ wParam=addInfo lParam=(LPARAM)hContact
addInfo should be passed straight to the wParam of userinfo/addpage
NB: The built-in userinfo module is loaded after all plugins, so calling
-HookEvent() in your plugin's Load() function will fail if you specify this
+HookEvent() in your plugin's Load(void) function will fail if you specify this
hook. Look up core/m_system.h:me_system_modulesloaded.
*/
#define ME_USERINFO_INITIALISE "UserInfo/Initialise"
diff --git a/include/newpluginapi.h b/include/newpluginapi.h index c539b9222b..e27855e34b 100644 --- a/include/newpluginapi.h +++ b/include/newpluginapi.h @@ -220,12 +220,12 @@ typedef struct { which is a PLUGINLINK structure
Returns: 0 on success, nonzero on failure
*/
- int (*Load) (char * profile, void * link);
+ int (*Load) (char * profile);
/*
Affect: The database plugin should shutdown, unloading things from the core and freeing internal structures
Returns: 0 on success, nonzero on failure
- Note: Unload() might be called even if Load() was never called, wasLoaded is set to 1 if Load() was ever called.
+ Note: Unload() might be called even if Load(void) was never called, wasLoaded is set to 1 if Load(void) was ever called.
*/
int (*Unload) (int wasLoaded);
|