FLImaging 6.5.8.1
GUIDialogCheckForUpdates.h
1#pragma once
2#include "GUIDialog.h"
3
4namespace FLImaging
5{
6 namespace GUI
7 {
8 class CGUIViewImage;
9
10 class FL_EXPORT CGUIDialogCheckForUpdates : public CGUIDialog
11 {
12 DECLARE_DYNAMIC(CGUIDialogCheckForUpdates)
13
14 public:
15 CGUIDialogCheckForUpdates(CWnd* pParent = nullptr);
16 CGUIDialogCheckForUpdates(const CGUIDialogCheckForUpdates& rhs);
17 virtual ~CGUIDialogCheckForUpdates();
18
19 virtual BOOL OnInitDialog() override;
20
21 virtual void OnOK() override;
22 virtual void OnYes() override;
23 virtual void OnCancel() override;
24
40 virtual const CResult SetUpdateLibraryURL(const Base::CFLString<wchar_t>& strURL);
41
52 virtual Base::CFLString<wchar_t> GetUpdateLibraryURL() const;
53
54 virtual const CResult EnableShowUpdateAgainCheckBox(bool bEnable);
55 virtual bool IsShowUpdateAgainCheckBoxEnabled() const;
56
57 virtual bool IsUpdateAgainCheckBoxChecked() const;
58
59 protected:
60 CGUIGridLayout* m_pGrid;
61 Base::CFLString<wchar_t> m_strUpdateLibraryURL;
62 Base::CFLString<wchar_t> m_strUpdateMessage;
63 Base::CFLString<wchar_t> m_strWhatsNewURL;
64 bool m_bShowUpdateAgainCheckBox;
65 bool m_bCheckDontShowUpdate;
66
67 DeclareGetClassType();
68 };
69 }
70}