karazeh
A cross-platform software updating library.
patcher.hpp
Go to the documentation of this file.
1 
21 #ifndef H_KARAZEH_PATCHER_H
22 #define H_KARAZEH_PATCHER_H
23 
24 #include "karazeh_export.h"
25 #include "karazeh/karazeh.hpp"
26 #include "karazeh/logger.hpp"
27 #include "karazeh/config.hpp"
28 #include "karazeh/downloader.hpp"
29 #include "karazeh/file_manager.hpp"
31 
32 namespace kzh {
33  class KARAZEH_EXPORT patcher : protected logger {
34  public:
35 
39  explicit patcher(config_t const&);
40  virtual ~patcher();
41 
60  STAGE_RC apply_update(release_manifest const&);
61 
62  private:
63  config_t const &config_;
64  };
65 
66 } // end of namespace kzh
67 
68 #endif
STAGE_RC
Definition: operation.hpp:33
Definition: config.hpp:32
Definition: release_manifest.hpp:32
Definition: logger.hpp:35
Definition: config.hpp:27
Definition: patcher.hpp:33