#ifndef _COMMON_H_ #define _COMMON_H_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "resource.h" #include "version.h" #include "protobuf-c/steammessages_auth.steamclient.pb-c.h" #include "protobuf-c/steammessages_clientserver_login.pb-c.h" #include "proto.h" #define MODULE "Steam" #define DB_KEY_LASTMSGTS "LastMessageTS" #define STEAM_API_TIMEOUT 20 #define STEAM_API_IDLEOUT_AWAY 600 #define STEAM_API_IDLEOUT_SNOOZE 8000 #define STEAM_API_POLLING_ERRORS_LIMIT 5 class CSteamProto; extern HANDLE hExtraXStatus; #define STEAM_API_URL "https://api.steampowered.com" #define STEAM_WEB_URL "https://steamcommunity.com" // registered db event types #define EVENTTYPE_STEAM_CHATSTATES 2000 #define STEAM_DB_GETEVENTTEXT_CHATSTATES "/GetEventText2000" #define STEAM_DB_EVENT_CHATSTATES_GONE 1 #define now() time(0) #include "steam_dialogs.h" #include "http_request.h" #include "api/enums.h" #include "steam_proto.h" #include "api/app_info.h" #include "api/avatar.h" #include "api/captcha.h" #include "api/friend.h" #include "api/friend_list.h" #include "api/history.h" #include "api/message.h" #include "api/pending.h" #include "api/rsa_key.h" #include "api/search.h" #include "api/session.h" #endif //_COMMON_H_