From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/auth/Loginbox/dataAddress.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Src/auth/Loginbox/dataAddress.h (limited to 'Src/auth/Loginbox/dataAddress.h') 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 -- cgit