diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-07 20:11:48 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-06-07 20:11:48 +0000 |
commit | 284caa432d31130a2714ce6acb49826d55b8789d (patch) | |
tree | 065c08408d210b915c49ebaa42da6afb9af0414b /plugins/Dropbox/src/http_request.h | |
parent | 8e0c637454c5797a5a9ce02968480a1847676f29 (diff) |
Dropbox switched to NLHR_PTR
git-svn-id: http://svn.miranda-ng.org/main/trunk@14059 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/http_request.h')
-rw-r--r-- | plugins/Dropbox/src/http_request.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/plugins/Dropbox/src/http_request.h b/plugins/Dropbox/src/http_request.h index 21c14b456b..6fa8816c93 100644 --- a/plugins/Dropbox/src/http_request.h +++ b/plugins/Dropbox/src/http_request.h @@ -163,26 +163,4 @@ public: }
};
-class NetlibPtr
-{
-protected:
- NETLIBHTTPREQUEST *_p;
-
-public:
- __inline explicit NetlibPtr(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 ~NetlibPtr()
- {
- CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)(NETLIBHTTPREQUEST*)this);
- }
-};
-
#endif //_HTTP_REQUEST_H_
\ No newline at end of file |