diff options
Diffstat (limited to 'gentoobrowse-api/service/maintenance/useLocalProcessor.h')
| -rw-r--r-- | gentoobrowse-api/service/maintenance/useLocalProcessor.h | 31 | 
1 files changed, 13 insertions, 18 deletions
diff --git a/gentoobrowse-api/service/maintenance/useLocalProcessor.h b/gentoobrowse-api/service/maintenance/useLocalProcessor.h index b2077bc..9f808da 100644 --- a/gentoobrowse-api/service/maintenance/useLocalProcessor.h +++ b/gentoobrowse-api/service/maintenance/useLocalProcessor.h @@ -1,26 +1,21 @@ -#ifndef GENTOOBROWSE_API_SERVICE_MAINTENANCE_USELOCALPROC_H -#define GENTOOBROWSE_API_SERVICE_MAINTENANCE_USELOCALPROC_H +#pragma once  #include "abstractFileProcessor.h"  #include <connection.h>  #include <filesystem>  #include <modifycommand.h> -namespace Gentoo { -	namespace Service { -		class UseLocalProcessor : public AbstractFileProcessor { -		public: -			unsigned char phase() const override; -			unsigned char order() const override; -			bool match(const PathParts & pp) const override; +namespace Gentoo::Service { +	class UseLocalProcessor : 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; +	};  } - -#endif  | 
