From 8e0c637454c5797a5a9ce02968480a1847676f29 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 7 Jun 2015 19:58:12 +0000 Subject: NLHR_PTR moved to m_netlib.h by request git-svn-id: http://svn.miranda-ng.org/main/trunk@14058 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/http_request.h | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'protocols/SkypeWeb') diff --git a/protocols/SkypeWeb/src/http_request.h b/protocols/SkypeWeb/src/http_request.h index 363ff6ec87..f12a5111b1 100644 --- a/protocols/SkypeWeb/src/http_request.h +++ b/protocols/SkypeWeb/src/http_request.h @@ -264,26 +264,4 @@ public: } }; -class NLHR_PTR -{ -protected: - NETLIBHTTPREQUEST *_p; - -public: - __inline explicit NLHR_PTR(NETLIBHTTPREQUEST *p) : _p(p) {} - __inline NETLIBHTTPREQUEST* operator=(NETLIBHTTPREQUEST *p) - { - if (_p) - CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)(NETLIBHTTPREQUEST*)_p); - _p = p; - return _p; - } - __inline operator NETLIBHTTPREQUEST*() const { return _p; } - __inline NETLIBHTTPREQUEST* operator->() const { return _p; } - __inline ~NLHR_PTR() - { - CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)(NETLIBHTTPREQUEST*)this); - } -}; - #endif //_HTTP_REQUEST_H_ \ No newline at end of file -- cgit v1.2.3