[EXPLORER] Minor cleanup/comment fixes.

This commit is contained in:
Hermès Bélusca-Maïto 2019-04-22 21:25:41 +02:00
parent 884db2ea06
commit a7ddabcc12
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 10 additions and 8 deletions

View file

@ -180,7 +180,8 @@ public:
void Initialize(HWND hWndParent, CBalloonQueue * queue);
};
extern const WCHAR szSysPagerWndClass[];
static const WCHAR szSysPagerWndClass[] = L"SysPager";
class CSysPagerWnd :
public CComCoClass<CSysPagerWnd>,
@ -258,6 +259,10 @@ public:
HRESULT Initialize(IN HWND hWndParent);
};
/*
* IconWatcher
*/
CIconWatcher::CIconWatcher() :
m_hWatcherThread(NULL),
m_WakeUpEvent(NULL),
@ -489,8 +494,8 @@ UINT WINAPI CIconWatcher::WatcherThread(_In_opt_ LPVOID lpParam)
}
/*
* NotifyToolbar
*/
* BalloonQueue
*/
CBalloonQueue::CBalloonQueue() :
m_hwndParent(NULL),
@ -1255,7 +1260,6 @@ void CNotifyToolbar::Initialize(HWND hWndParent, CBalloonQueue * queue)
/*
* SysPagerWnd
*/
const WCHAR szSysPagerWndClass[] = L"SysPager";
CSysPagerWnd::CSysPagerWnd() {}

View file

@ -39,7 +39,7 @@ const UINT ClockWndFormatsCount = _ARRAYSIZE(ClockWndFormats);
#define CLOCKWND_FORMAT_COUNT ClockWndFormatsCount
extern const WCHAR szTrayClockWndClass[];
static const WCHAR szTrayClockWndClass[] = L"TrayClockWClass";
class CTrayClockWnd :
public CComCoClass<CTrayClockWnd>,
@ -142,8 +142,6 @@ public:
HRESULT Initialize(IN HWND hWndParent);
};
const WCHAR szTrayClockWndClass[] = L"TrayClockWClass";
#define ID_TRAYCLOCK_TIMER 0
#define ID_TRAYCLOCK_TIMER_INIT 1

View file

@ -25,7 +25,7 @@
* TrayNotifyWnd
*/
static const WCHAR szTrayNotifyWndClass [] = TEXT("TrayNotifyWnd");
static const WCHAR szTrayNotifyWndClass[] = L"TrayNotifyWnd";
#define TRAY_NOTIFY_WND_SPACING_X 1
#define TRAY_NOTIFY_WND_SPACING_Y 1