skeleton for xchat_del_pluginpref

This commit is contained in:
Berke Viktor
2012-01-14 00:29:01 +01:00
parent c979a8a8b7
commit c3821b6316
5 changed files with 35 additions and 3 deletions

View File

@ -148,6 +148,8 @@ struct _xchat_plugin
int value);
int (*xchat_get_pluginpref_int) (xchat_plugin *ph,
const char *var);
int (*xchat_del_pluginpref) (xchat_plugin *ph,
const char *var);
};
#endif
@ -321,6 +323,10 @@ int
xchat_get_pluginpref_int (xchat_plugin *ph,
const char *var);
int
xchat_del_pluginpref (xchat_plugin *ph,
const char *var);
#if !defined(PLUGIN_C) && defined(WIN32)
#ifndef XCHAT_PLUGIN_HANDLE
#define XCHAT_PLUGIN_HANDLE (ph)
@ -359,6 +365,7 @@ xchat_get_pluginpref_int (xchat_plugin *ph,
#define xchat_get_pluginpref_str ((XCHAT_PLUGIN_HANDLE)->xchat_get_pluginpref_str)
#define xchat_set_pluginpref_int ((XCHAT_PLUGIN_HANDLE)->xchat_set_pluginpref_int)
#define xchat_get_pluginpref_int ((XCHAT_PLUGIN_HANDLE)->xchat_get_pluginpref_int)
#define xchat_del_pluginpref ((XCHAT_PLUGIN_HANDLE)->xchat_del_pluginpref)
#endif
#ifdef __cplusplus