karazeh
A cross-platform software updating library.
release_manifest.hpp
Go to the documentation of this file.
1 
21 #ifndef H_KARAZEH_RELEASE_MANIFEST_H
22 #define H_KARAZEH_RELEASE_MANIFEST_H
23 
24 #include <vector>
25 #include "karazeh_export.h"
26 #include "karazeh/karazeh.hpp"
27 #include "karazeh/operation.hpp"
28 
29 namespace kzh {
31 
33  inline release_manifest() {};
34  inline ~release_manifest() {
35  while (!operations.empty()) {
36  delete operations.back();
37 
38  operations.pop_back();
39  }
40  };
41 
42  release_manifest(const release_manifest&) = delete;
43  release_manifest& operator=(const release_manifest &) = delete;
44 
50 
51  std::vector<operation*> operations;
52  };
53 
54 } // end of namespace kzh
55 
56 #endif
string_t uri
Definition: release_manifest.hpp:49
release_manifest()
Definition: release_manifest.hpp:33
~release_manifest()
Definition: release_manifest.hpp:34
std::string string_t
Definition: karazeh.hpp:55
Definition: config.hpp:32
Definition: release_manifest.hpp:32
string_t head
Definition: release_manifest.hpp:46
string_t identity_t
Definition: release_manifest.hpp:30
string_t identity
Definition: release_manifest.hpp:47
string_t id
Definition: release_manifest.hpp:45
Definition: config.hpp:27
string_t tag
Definition: release_manifest.hpp:48
std::vector< operation * > operations
Definition: release_manifest.hpp:51