#pragma once

#include "../3RVX/Window.h"

class NotifyIcon;
class Settings;

class UpdaterWindow : public Window {
public:
    UpdaterWindow();
    ~UpdaterWindow();

    void DoModal();

private:
    HICON _smallIcon;
    HICON _largeIcon;
    NotifyIcon *_notifyIcon;

    HMENU _menu;
    UINT _menuFlags;

    Settings *_settings;

    std::pair<int, int> _version;
    std::wstring _versionString;

    void InstallUpdate();

    virtual LRESULT WndProc(HWND hWnd, UINT message,
        WPARAM wParam, LPARAM lParam);

public:
    static const int MENU_INSTALL = 0;
    static const int MENU_IGNORE = 1;
    static const int MENU_REMIND = 2;

};
#pragma once

#include "../../3RVX/Window.h"
#include "Version.h"

class NotifyIcon;
class Settings;

class UpdaterWindow : public Window {
public:
    UpdaterWindow();
    ~UpdaterWindow();

    void DoModal();

private:
    HICON _smallIcon;
    HICON _largeIcon;
    NotifyIcon *_notifyIcon;

    HMENU _menu;
    UINT _menuFlags;

    Settings *_settings;

    Version _version;

    void InstallUpdate();

    virtual LRESULT WndProc(HWND hWnd, UINT message,
        WPARAM wParam, LPARAM lParam);

public:
    static const int MENU_INSTALL = 0;
    static const int MENU_IGNORE = 1;
    static const int MENU_REMIND = 2;

};
Clean up instance variables and imports
Clean up instance variables and imports
