From ab75f8e4a3968c956425844415237a4fa6fcee63 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Tue, 26 May 2015 19:15:20 +0000 Subject: Steam: merge new api git-svn-id: http://svn.miranda-ng.org/main/trunk@13850 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_events.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'protocols/Steam/src/steam_events.cpp') diff --git a/protocols/Steam/src/steam_events.cpp b/protocols/Steam/src/steam_events.cpp index 434eaed925..cbaf2302ae 100644 --- a/protocols/Steam/src/steam_events.cpp +++ b/protocols/Steam/src/steam_events.cpp @@ -14,6 +14,8 @@ int CSteamProto::OnModulesLoaded(WPARAM, LPARAM) nlu.szSettingsModule = m_szModuleName; m_hNetlibUser = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu); + requestQueue = new RequestQueue(m_hNetlibUser); + HookEvent(ME_CLIST_PREBUILDCONTACTMENU, &CSteamProto::PrebuildContactMenu); return 0; @@ -21,7 +23,7 @@ int CSteamProto::OnModulesLoaded(WPARAM, LPARAM) int CSteamProto::OnPreShutdown(WPARAM, LPARAM) { - //SetStatus(ID_STATUS_OFFLINE); + delete requestQueue; Netlib_CloseHandle(this->m_hNetlibUser); this->m_hNetlibUser = NULL; -- cgit v1.2.3