xref: /MusicPlayer2/MusicPlayer2/UpdateHelper.h (revision 2661106a96494c0a7dfab38bf1ae7b9565882443)
1 #pragma once
2 class CUpdateHelper
3 {
4 public:
5     CUpdateHelper();
6     ~CUpdateHelper();
7     bool CheckForUpdate();
8 
9     const std::wstring& GetVersion() const;
10     const std::wstring& GetLink() const;
11     const std::wstring& GetLink64() const;
12     const std::wstring& GetContentsEn() const;
13     const std::wstring& GetContentsZhCn() const;
14     bool IsRowData();
15 
16 private:
17     std::wstring m_version;
18     std::wstring m_link;
19     std::wstring m_link64;
20     std::wstring m_contents_en;
21     std::wstring m_contents_zh_cn;
22     bool m_row_data{ true };
23 };
24 
25