Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
lhaz
src
lhazerr.h
[詳解]
1
/*==========================================================================*/
2
/* Lhaz Error class chitora48@gmail.com */
3
/*==========================================================================*/
4
#pragma once
5
6
#include "altstr.hpp"
7
#include <tchar.h>
8
#include <Windows.h>
9
10
class
LHAZERR
{
11
12
public
:
13
enum
TYPE
{
NON
,
STOP
,
CANTOPEN
,
HUF_BROKEN
,
ARC_BROKEN
,
PASS_ERROR
,
PASS_ERROR2
};
14
enum
MODE
{
EXTRACT
,
TEST
};
15
//
16
LHAZERR
(HWND hwnd) :
17
m_hwnd
(hwnd),
18
m_type
(
NON
),
19
m_mode
(
EXTRACT
),
20
m_name
()
21
{
22
}
23
LHAZERR
(HWND hwnd,
TYPE
type,
const
WSTR& name = _T(
""
),
MODE
mode =
EXTRACT
) :
24
m_hwnd
(hwnd),
25
m_type
(type),
26
m_mode
(mode),
27
m_name
(name)
28
{
29
}
30
LHAZERR
(HWND hwnd,
const
LHAZERR
& e) :
31
m_hwnd
(hwnd),
32
m_type
(e.
m_type
),
33
m_mode
(e.
m_mode
),
34
m_name
(e.
m_name
)
35
{
36
}
37
‾LHAZERR
() {
38
}
39
const
TCHAR*
GetName
() {
40
return
m_name
.CStr();
41
}
42
void
SetName
(
const
WSTR& name) {
43
m_name
= name;
44
}
45
TYPE
GetType
() {
return
m_type
; }
46
void
Do
(
bool
do_delete);
47
48
private
:
49
HWND
m_hwnd
;
50
TYPE
m_type
;
51
MODE
m_mode
;
52
WSTR
m_name
;
53
54
};
LHAZERR
Definition
lhazerr.h:10
LHAZERR::‾LHAZERR
‾LHAZERR()
Definition
lhazerr.h:37
LHAZERR::TYPE
TYPE
Definition
lhazerr.h:13
LHAZERR::ARC_BROKEN
@ ARC_BROKEN
Definition
lhazerr.h:13
LHAZERR::NON
@ NON
Definition
lhazerr.h:13
LHAZERR::PASS_ERROR
@ PASS_ERROR
Definition
lhazerr.h:13
LHAZERR::HUF_BROKEN
@ HUF_BROKEN
Definition
lhazerr.h:13
LHAZERR::PASS_ERROR2
@ PASS_ERROR2
Definition
lhazerr.h:13
LHAZERR::STOP
@ STOP
Definition
lhazerr.h:13
LHAZERR::CANTOPEN
@ CANTOPEN
Definition
lhazerr.h:13
LHAZERR::m_name
WSTR m_name
Definition
lhazerr.h:52
LHAZERR::GetName
const TCHAR * GetName()
Definition
lhazerr.h:39
LHAZERR::LHAZERR
LHAZERR(HWND hwnd, const LHAZERR &e)
Definition
lhazerr.h:30
LHAZERR::SetName
void SetName(const WSTR &name)
Definition
lhazerr.h:42
LHAZERR::m_type
TYPE m_type
Definition
lhazerr.h:50
LHAZERR::m_hwnd
HWND m_hwnd
Definition
lhazerr.h:49
LHAZERR::LHAZERR
LHAZERR(HWND hwnd, TYPE type, const WSTR &name=_T(""), MODE mode=EXTRACT)
Definition
lhazerr.h:23
LHAZERR::m_mode
MODE m_mode
Definition
lhazerr.h:51
LHAZERR::MODE
MODE
Definition
lhazerr.h:14
LHAZERR::EXTRACT
@ EXTRACT
Definition
lhazerr.h:14
LHAZERR::TEST
@ TEST
Definition
lhazerr.h:14
LHAZERR::LHAZERR
LHAZERR(HWND hwnd)
Definition
lhazerr.h:16
LHAZERR::Do
void Do(bool do_delete)
Definition
lhazerr.cpp:11
LHAZERR::GetType
TYPE GetType()
Definition
lhazerr.h:45
2025年05月03日(土) 06時25分05秒作成 - Lhaz / 構成:
1.9.8