diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-03 13:44:19 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-08-03 13:44:19 +0000 |
commit | ea9d5eb615dfa58b4b4b750897819d6aef07024a (patch) | |
tree | e44e5503fc31a7b42a505caf68cd4a578a338225 /protocols/SkypeWeb/src | |
parent | 701bd3e9adb02d95e388539627eadd02bf54dc90 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@14833 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r-- | protocols/SkypeWeb/src/skype_db.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/protocols/SkypeWeb/src/skype_db.h b/protocols/SkypeWeb/src/skype_db.h index 42403cdc19..471b4e8f87 100644 --- a/protocols/SkypeWeb/src/skype_db.h +++ b/protocols/SkypeWeb/src/skype_db.h @@ -33,33 +33,5 @@ enum SKYPE_DB_EVENT_TYPE #define SKYPE_SETTINGS_PASSWORD "Password"
#define SKYPE_SETTINGS_GROUP "DefaultGroup"
-class pass_ptrA : public mir_ptr<char>
-{
-public:
- __inline explicit pass_ptrA() : mir_ptr(){}
- __inline explicit pass_ptrA(char* _p) : mir_ptr(_p) {}
- __inline ~pass_ptrA() { zero(); }
- __inline char* operator = (char *_p){ zero(); mir_ptr::operator=(_p); }
- __inline void zero()
- { char *_data = mir_ptr::operator char *();
- if (_data) SecureZeroMemory(_data, mir_strlen(_data));
- }
-};
-
-class pass_ptrW : public mir_ptr<WCHAR>
-{
-public:
- __inline explicit pass_ptrW() : mir_ptr(){}
- __inline explicit pass_ptrW(WCHAR* _p) : mir_ptr(_p) {}
- __inline ~pass_ptrW() { zero(); }
- __inline WCHAR* operator = (WCHAR *_p){ zero(); mir_ptr::operator=(_p); }
- __inline void zero()
- { WCHAR *_data = mir_ptr::operator WCHAR *();
- if (_data) SecureZeroMemory(_data, mir_wstrlen(_data)*sizeof(WCHAR));
- }
-};
-
-typedef pass_ptrW pass_ptrT;
-
#endif //_SKYPE_DB_H_
\ No newline at end of file |