Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 #ifndef UPDATER_H | |
2 #define UPDATER_H | |
3 | |
4 #include <string> | |
5 #include <Windows.h> | |
6 #include <AdblockPlus/JsEngine.h> | |
7 | |
8 class Updater | |
9 { | |
10 public: | |
11 Updater(AdblockPlus::JsEnginePtr jsEngine, const std::string& url); | |
12 void Update(); | |
13 private: | |
14 AdblockPlus::JsEnginePtr jsEngine; | |
15 std::string url; | |
16 std::wstring tempFile; | |
17 HWND dialog; | |
18 | |
19 void StartDownload(HWND dialog); | |
20 void RunDownload(); | |
21 }; | |
22 | |
23 #endif // UPDATER_H | |
OLD | NEW |