summaryrefslogtreecommitdiff
path: root/gentoobrowse-api/service/maintenance/updatesProcessor.h
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse-api/service/maintenance/updatesProcessor.h')
-rw-r--r--gentoobrowse-api/service/maintenance/updatesProcessor.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/gentoobrowse-api/service/maintenance/updatesProcessor.h b/gentoobrowse-api/service/maintenance/updatesProcessor.h
index 0063db7..0ef6872 100644
--- a/gentoobrowse-api/service/maintenance/updatesProcessor.h
+++ b/gentoobrowse-api/service/maintenance/updatesProcessor.h
@@ -1,14 +1,20 @@
#pragma once
#include "abstractFileProcessor.h"
-#include <connection.h>
+#include "changeSet.h"
+#include "portage-models.h"
+#include <cstdint>
#include <filesystem>
-#include <modifycommand.h>
+namespace DB {
+ class Connection;
+}
namespace Gentoo::Service {
class UpdatesPatch;
class UpdatesProcessor : public AbstractFileProcessor {
public:
+ UpdatesProcessor() = default;
+
unsigned char phase() const override;
unsigned char order() const override;
bool match(const PathParts & pp) const override;
@@ -24,6 +30,6 @@ namespace Gentoo::Service {
void tidy(DB::Connection * dbc) override;
private:
- UpdatesPatch * up;
+ UpdatesPatch * up {};
};
}