Advertisement
Hemirt

Untitled

Jun 24th, 2016
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.37 KB | None | 0 0
  1.     /* Client functions */
  2.     void         (*getAppPath)(char* path, size_t maxLen);
  3.     void         (*getResourcesPath)(char* path, size_t maxLen);
  4.     void         (*getConfigPath)(char* path, size_t maxLen);
  5.     void         (*getPluginPath)(char* path, size_t maxLen);
  6.     uint64       (*getCurrentServerConnectionHandlerID)();
  7.     void         (*printMessage)(uint64 serverConnectionHandlerID, const char* message, enum PluginMessageTarget messageTarget);
  8.     void         (*printMessageToCurrentTab)(const char* message);
  9.     void         (*urlsToBB)(const char* text, char* result, size_t maxLen);
  10.     void         (*sendPluginCommand)(uint64 serverConnectionHandlerID, const char* pluginID, const char* command, int targetMode, const anyID* targetIDs, const char* returnCode);
  11.     void         (*getDirectories)(const char* path, char* result, size_t maxLen);
  12.     unsigned int (*getServerConnectInfo)(uint64 scHandlerID, char* host, unsigned short* port, char* password, size_t maxLen);
  13.     unsigned int (*getChannelConnectInfo)(uint64 scHandlerID, uint64 channelID, char* path, char* password, size_t maxLen);
  14.     void         (*createReturnCode)(const char* pluginID, char* returnCode, size_t maxLen);
  15.     unsigned int (*requestInfoUpdate)(uint64 scHandlerID, enum PluginItemType itemType, uint64 itemID);
  16.     uint64       (*getServerVersion)(uint64 scHandlerID);
  17.     unsigned int (*isWhispering)(uint64 scHandlerID, anyID clientID, int* result);
  18.     unsigned int (*isReceivingWhisper)(uint64 scHandlerID, anyID clientID, int* result);
  19.     unsigned int (*getAvatar)(uint64 scHandlerID, anyID clientID, char* result, size_t maxLen);
  20.     void         (*setPluginMenuEnabled)(const char* pluginID, int menuID, int enabled);
  21.     void         (*showHotkeySetup)();
  22.     void         (*requestHotkeyInputDialog)(const char* pluginID, const char* keyword, int isDown, void* qParentWindow);
  23.     unsigned int (*getHotkeyFromKeyword)(const char* pluginID, const char** keywords, char** hotkeys, size_t arrayLen, size_t hotkeyBufSize);
  24.     unsigned int (*getClientDisplayName)(uint64 scHandlerID, anyID clientID, char* result, size_t maxLen);
  25.     unsigned int (*getBookmarkList)(struct PluginBookmarkList** list);
  26.     unsigned int (*getProfileList)(enum PluginGuiProfile profile, int* defaultProfileIdx, char*** result);
  27.     unsigned int (*guiConnect)(enum PluginConnectTab connectTab, const char* serverLabel, const char* serverAddress, const char* serverPassword, const char* nickname, const char* channel, const char* channelPassword, const char* captureProfile, const char* playbackProfile, const char* hotkeyProfile, const char* soundProfile, const char* userIdentity, const char* oneTimeKey, const char* phoneticName, uint64* scHandlerID);
  28.     unsigned int (*guiConnectBookmark)(enum PluginConnectTab connectTab, const char* bookmarkuuid, uint64* scHandlerID);
  29.     unsigned int (*createBookmark)(const char* bookmarkuuid, const char* serverLabel, const char* serverAddress, const char* serverPassword, const char* nickname, const char* channel, const char* channelPassword, const char* captureProfile, const char* playbackProfile, const char* hotkeyProfile, const char* soundProfile, const char* uniqueUserId, const char* oneTimeKey, const char* phoneticName);
  30.     unsigned int (*getPermissionIDByName)(uint64 serverConnectionHandlerID, const char* permissionName, unsigned int* result);
  31.     unsigned int (*getClientNeededPermission)(uint64 serverConnectionHandlerID, const char* permissionName, int* result);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement