1
0

templateAddress.h 975 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef NULLSOFT_AUTH_LOGIN_TEMPLATE_ADDRESS_HEADER
  2. #define NULLSOFT_AUTH_LOGIN_TEMPLATE_ADDRESS_HEADER
  3. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  4. #pragma once
  5. #endif
  6. #include "./loginTemplate.h"
  7. // {F244385A-178A-4e8c-95DC-BF43058BAA9B}
  8. static const GUID LTUID_ADDRESS =
  9. { 0xf244385a, 0x178a, 0x4e8c, { 0x95, 0xdc, 0xbf, 0x43, 0x5, 0x8b, 0xaa, 0x9b } };
  10. class LoginTemplateAddress : public LoginTemplate
  11. {
  12. protected:
  13. LoginTemplateAddress();
  14. ~LoginTemplateAddress();
  15. public:
  16. static HRESULT CreateInstance(LoginTemplateAddress **instance);
  17. public:
  18. ULONG AddRef();
  19. ULONG Release();
  20. HRESULT GetType(GUID *templateUid);
  21. HRESULT SetParameter(LPCWSTR pszKey, LPCWSTR pszValue);
  22. HRESULT IsValid();
  23. HRESULT IsIdentical(LoginTemplate *test);
  24. HWND CreatePage(HWND hLoginbox, HWND hParent);
  25. protected:
  26. ULONG ref;
  27. LPWSTR title;
  28. LPWSTR message;
  29. LPWSTR address;
  30. LPWSTR addressTitle;
  31. BOOL replaceUsername;
  32. };
  33. #endif //NULLSOFT_AUTH_LOGIN_TEMPLATE_ADDRESS_HEADER