[EXPLORER] Minor cleanup/comment fixes.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 22 Apr 2019 19:25:41 +0000 (21:25 +0200)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Mon, 22 Apr 2019 19:25:41 +0000 (21:25 +0200)
base/shell/explorer/syspager.cpp
base/shell/explorer/trayclock.cpp
base/shell/explorer/trayntfy.cpp

index 1755ebe..44ccff9 100644 (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() {}
 
index 8c217c8..f21ba2c 100644 (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
 
index 4326ca7..63dc236 100644 (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