diff options
author | Jean-Francois Mauguit <jfmauguit@mac.com> | 2024-09-24 09:03:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 09:03:25 -0400 |
commit | bab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch) | |
tree | 12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/auth/Loginbox/dataAddress.h | |
parent | 4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff) | |
parent | 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff) | |
download | winamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz |
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/auth/Loginbox/dataAddress.h')
-rw-r--r-- | Src/auth/Loginbox/dataAddress.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Src/auth/Loginbox/dataAddress.h b/Src/auth/Loginbox/dataAddress.h new file mode 100644 index 00000000..f6adb1bc --- /dev/null +++ b/Src/auth/Loginbox/dataAddress.h @@ -0,0 +1,34 @@ +#ifndef NULLSOFT_AUTH_LOGINDATA_ADDRESS_HEADER +#define NULLSOFT_AUTH_LOGINDATA_ADDRESS_HEADER + +#if defined(_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif + +#include "./loginData.h" + +// {830B9FCD-3A09-4485-8BA6-1A6B8F10ED39} +static const GUID IID_LoginDataAddress = +{ 0x830b9fcd, 0x3a09, 0x4485, { 0x8b, 0xa6, 0x1a, 0x6b, 0x8f, 0x10, 0xed, 0x39 } }; + + +class LoginDataAddress : public LoginData +{ + +protected: + LoginDataAddress(const GUID *pRealm, HWND hPage, HWND hLoginbox, LPCWSTR pszAddress); + ~LoginDataAddress(); + +public: + static HRESULT CreateInstance(const GUID *pRealm, HWND hPage, HWND hLoginbox, LPCWSTR pszAddress, LoginDataAddress **instance); + +public: + virtual HRESULT QueryInterface(REFIID riid, void** ppObject); + LPCWSTR GetAddress(); + + +protected: + LPWSTR address; +}; + +#endif //NULLSOFT_AUTH_LOGINDATA_ADDRESS_HEADER
\ No newline at end of file |