Refactoring: use C++11 class member variable initialization
This commit is contained in:
parent
ee57c95aa6
commit
2337237d58
94 changed files with 218 additions and 377 deletions
|
@ -40,23 +40,23 @@ class NotifyIconHost {
|
|||
UINT NextIconId();
|
||||
|
||||
// The unique icon ID we will assign to the next icon.
|
||||
UINT next_icon_id_;
|
||||
UINT next_icon_id_ = 1;
|
||||
|
||||
// List containing all active NotifyIcons.
|
||||
NotifyIcons notify_icons_;
|
||||
|
||||
// The window class of |window_|.
|
||||
ATOM atom_;
|
||||
ATOM atom_ = 0;
|
||||
|
||||
// The handle of the module that contains the window procedure of |window_|.
|
||||
HMODULE instance_;
|
||||
HMODULE instance_ = nullptr;
|
||||
|
||||
// The window used for processing events.
|
||||
HWND window_;
|
||||
HWND window_ = nullptr;
|
||||
|
||||
// The message ID of the "TaskbarCreated" message, sent to us when we need to
|
||||
// reset our status icons.
|
||||
UINT taskbar_created_message_;
|
||||
UINT taskbar_created_message_ = 0;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(NotifyIconHost);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue