Lhaz
passwordif.h
[詳解]
1 /*************************************************************************/
6 #pragma once
7 
8 #include <windows.h>
9 
10 /*************************************************************************/
13 class PASSWORD_IF {
14 public:
15  PASSWORD_IF(void) :
16  File(NULL),
17  Password(NULL),
18  Length(0)
19  {
20  }
21  PASSWORD_IF(const TCHAR* file, TCHAR* password, int length) :
22  File(file),
23  Password(password),
24  Length(length)
25  {
26  }
27  ‾PASSWORD_IF(void) {}
28  const TCHAR* GetFile(void) const { return File; }
29  TCHAR* GetPassword(void) const { return Password; }
30  int GetLength(void) const { return Length; }
31 
32 private:
33  const TCHAR* File;
34  TCHAR* Password;
35  int Length;
36 
37 };
TCHAR * GetPassword(void) const
Definition: passwordif.h:29
const TCHAR * GetFile(void) const
Definition: passwordif.h:28
int GetLength(void) const
Definition: passwordif.h:30
then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file
Definition: LICENSE.txt:110
PASSWORD_IF(const TCHAR *file, TCHAR *password, int length)
Definition: passwordif.h:21
PASSWORD_IF(void)
Definition: passwordif.h:15
const TCHAR * File
Definition: passwordif.h:33
‾PASSWORD_IF(void)
Definition: passwordif.h:27
TCHAR * Password
Definition: passwordif.h:34
int Length
Definition: passwordif.h:35
Input Password Interface.
Definition: passwordif.h:13