diff options
Diffstat (limited to 'protocols/Steam/src/steam_utils.h')
| -rw-r--r-- | protocols/Steam/src/steam_utils.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_utils.h b/protocols/Steam/src/steam_utils.h new file mode 100644 index 0000000000..40cdd07088 --- /dev/null +++ b/protocols/Steam/src/steam_utils.h @@ -0,0 +1,18 @@ +#ifndef _STEAM_UTILS_H_ +#define _STEAM_UTILS_H_ + +int SteamToMirandaStatus(PersonaState state); +PersonaState MirandaToSteamState(int status); + +void ShowNotification(const wchar_t *message, int flags = 0, MCONTACT hContact = NULL); +void ShowNotification(const wchar_t *caption, const wchar_t *message, int flags = 0, MCONTACT hContact = NULL); + +MBinBuffer RsaEncrypt(const char *pszModulus, const char *exponent, const char *data); +MBinBuffer createMachineID(const char *accName); + +#define now() time(0) + +int64_t getRandomInt(); +CMStringA protobuf_c_text_to_string(const ProtobufCMessage &msg); + +#endif //_STEAM_UTILS_H_ |
