-
Notifications
You must be signed in to change notification settings - Fork 204
/
Copy pathDiskInfo.h
94 lines (79 loc) · 2.61 KB
/
DiskInfo.h
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*---------------------------------------------------------------------------*/
// Author : hiyohiyo
// Mail : [email protected]
// Web : https://crystalmark.info/
// License : MIT License
/*---------------------------------------------------------------------------*/
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "Resource.h" // main symbols
// #define THEME_DIR _T("CdiResource\\themes\\")
// #define LANGUAGE_DIR _T("CdiResource\\language\\")
#define DIALOG_DIR _T("CdiResource\\dialog\\")
// #define GADGET_DIR _T("CdiResource\\gadget\\")
#define SMART_DIR _T("Smart\\")
#define SMART_INI _T("Smart.ini")
#define EXCHANGE_INI _T("Exchange.ini")
#define ALARM_HISTORY_CSV _T("AlarmHistory.csv")
#define ALERT_MAIL_PATH _T("CdiResource\\AlertMail.exe")
#define ALERT_MAIL_4_PATH _T("CdiResource\\AlertMail4.exe")
#define ALERT_MAIL_48_PATH _T("CdiResource\\AlertMail48.exe")
#define OPUS_DEC_PATH _T("CdiResource\\opus\\opusdec.exe")
#define SHIZUKU_VOICE_PATH _T("CdiResource\\voice\\ShizukuVoice.dll")
#define KUREI_KEI_VOICE_PATH _T("CdiResource\\voice\\KureiKeiVoice.dll")
#define MSI_MEI_VOICE_PATH _T("CdiResource\\voice\\MSIMeiVoice.dll")
#define AOI_VOICE_JA_PATH _T("CdiResource\\voice\\AoiVoice-ja.dll")
#define AOI_VOICE_EN_PATH _T("CdiResource\\voice\\AoiVoice-en.dll")
#define MENU_THEME_INDEX 3
#define MENU_LANG_INDEX 6
#define MENU_DRIVE_INDEX 4
#define GRAPH_DIALOG _T("Graph.html")
#define GRAPH_DIALOG_IE8 _T("Graph8.html")
#define OPTION_DIALOG _T("Option.html")
#ifdef SUISHO_AOI_SUPPORT
#define PROJECT_COPYRIGHT L"AoiCopyright"
#elif MSI_MEI_SUPPORT
#define PROJECT_COPYRIGHT L"Copyright"
#elif KUREI_KEI_SUPPORT
#define PROJECT_COPYRIGHT L"KureiKeiCopyright"
#else SUISHO_SHIZUKU_SUPPORT
#define PROJECT_COPYRIGHT L"ShizukuCopyright"
#endif
class CDiskInfoApp : public CWinApp
{
public:
CDiskInfoApp();
~CDiskInfoApp();
ULONG_PTR gdiplusToken{};
CString m_GraphDlgPath;
CString m_OptionDlgPath;
CString m_SmartDir;
CString m_ExeDir;
// CString m_GadgetDir;
CString m_AlertMailPath;
CString m_OpusDecPath;
#ifdef SUISHO_SHIZUKU_SUPPORT
CString m_VoicePath;
#endif
#ifdef SUISHO_AOI_SUPPORT
CString m_VoiceLanguage;
#endif
CString m_Ini;
CString m_Txt;
CString m_SaveAsText;
BOOL m_bCopyExit{};
CString m_ThemeDir;
CString m_LangDir;
DWORD m_ThemeIndex{};
DWORD m_LangIndex{};
// Overrides
public:
virtual BOOL InitInstance();
private:
HANDLE hMutex{};
// Implementation
DECLARE_MESSAGE_MAP()
};
extern CDiskInfoApp theApp;