diff options
Diffstat (limited to 'gentoobrowse-api/service/maintenance/masksProcessor.h')
-rw-r--r-- | gentoobrowse-api/service/maintenance/masksProcessor.h | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/gentoobrowse-api/service/maintenance/masksProcessor.h b/gentoobrowse-api/service/maintenance/masksProcessor.h index fca6ec8..ca3c828 100644 --- a/gentoobrowse-api/service/maintenance/masksProcessor.h +++ b/gentoobrowse-api/service/maintenance/masksProcessor.h @@ -1,28 +1,23 @@ -#ifndef GENTOOBROWSE_API_SERVICE_MAINTENANCE_MASKSPROC_H -#define GENTOOBROWSE_API_SERVICE_MAINTENANCE_MASKSPROC_H +#pragma once #include "abstractFileProcessor.h" #include <connection.h> #include <filesystem> #include <modifycommand.h> -namespace Gentoo { - namespace Service { - class MasksProcessor : public AbstractFileProcessor { - public: - unsigned char phase() const override; - unsigned char order() const override; - bool match(const PathParts & pp) const override; +namespace Gentoo::Service { + class MasksProcessor : public AbstractFileProcessor { + public: + unsigned char phase() const override; + unsigned char order() const override; + bool match(const PathParts & pp) const override; - void created(DB::Connection * dbc, int64_t repoid, const Gentoo::StringList & fn, - const std::filesystem::path & path) override; - void modified(DB::Connection * dbc, int64_t repoid, const Gentoo::StringList & fn, - const std::filesystem::path & path) override; - void deleted(DB::Connection * dbc, int64_t repoid, const Gentoo::StringList & fn) override; + void created(DB::Connection * dbc, int64_t repoid, const Gentoo::StringList & fn, + const std::filesystem::path & path) override; + void modified(DB::Connection * dbc, int64_t repoid, const Gentoo::StringList & fn, + const std::filesystem::path & path) override; + void deleted(DB::Connection * dbc, int64_t repoid, const Gentoo::StringList & fn) override; - void phaseEnd(DB::Connection *, ChangeSet &) override; - }; - } + void phaseEnd(DB::Connection *, ChangeSet &) override; + }; } - -#endif |