diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-07 19:58:12 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-07 19:58:12 +0000 |
commit | 8e0c637454c5797a5a9ce02968480a1847676f29 (patch) | |
tree | 338a13fd5ba397d6953d254b0fafda8c90bcab40 /protocols | |
parent | 182ef2d733ab983ce6cc089a321c1699e95de69f (diff) |
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
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/SkypeWeb/src/http_request.h | 22 |
1 files changed, 0 insertions, 22 deletions
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 |