aboutsummaryrefslogtreecommitdiff
path: root/Src/auth/Loginbox/loginTemplate.h
blob: 0c4904883995c616e9f7a02e707d6e6a29eccc29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef NULLSOFT_AUTH_LOGIN_TEMPLATE_HEADER
#define NULLSOFT_AUTH_LOGIN_TEMPLATE_HEADER

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

#include <wtypes.h>

class __declspec(novtable) LoginTemplate
{
protected:
	LoginTemplate() {}
	~LoginTemplate(){}

public:
	virtual ULONG AddRef() = 0;
	virtual ULONG Release() = 0;

	virtual HRESULT GetType(GUID *templateUid) = 0;
	
	virtual HRESULT SetParameter(LPCWSTR pszKey, LPCWSTR pszValue) = 0;
	virtual HRESULT IsValid() = 0;
	virtual HRESULT IsIdentical(LoginTemplate *test) = 0;

	virtual HWND CreatePage(HWND hLoginbox, HWND hParent) = 0;

};

#endif //NULLSOFT_AUTH_LOGIN_TEMPLATE_HEADER