Index: src/engine/Updater.h |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/src/engine/Updater.h |
@@ -0,0 +1,22 @@ |
+#ifndef UPDATER_H |
+#define UPDATER_H |
+ |
+#include <string> |
+#include <Windows.h> |
+#include <AdblockPlus/JsEngine.h> |
+ |
+class Updater |
+{ |
+public: |
+ Updater(AdblockPlus::JsEnginePtr jsEngine, const std::string& url); |
+ void StartUpdate(); |
+ void StartDownload(HWND dialog); |
+ void RunDownload(); |
Wladimir Palant
2013/06/06 15:22:53
I don't think that the two functions above still n
Felix Dahlke
2013/06/06 17:44:00
Don't think so either :)
|
+private: |
+ AdblockPlus::JsEnginePtr jsEngine; |
+ std::string url; |
+ std::wstring tempFile; |
+ HWND dialog; |
+}; |
+ |
+#endif // UPDATER_H |