diff options
Diffstat (limited to 'gentoobrowse-api/service/maintenance/useLocalProcessor.h')
-rw-r--r-- | gentoobrowse-api/service/maintenance/useLocalProcessor.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gentoobrowse-api/service/maintenance/useLocalProcessor.h b/gentoobrowse-api/service/maintenance/useLocalProcessor.h new file mode 100644 index 0000000..ab0663d --- /dev/null +++ b/gentoobrowse-api/service/maintenance/useLocalProcessor.h @@ -0,0 +1,23 @@ +#ifndef GENTOOBROWSE_API_SERVICE_MAINTENANCE_USELOCALPROC_H +#define GENTOOBROWSE_API_SERVICE_MAINTENANCE_USELOCALPROC_H + +#include "../maintenanceimpl.h" +#include <connection.h> +#include <modifycommand.h> +#include <boost/filesystem/path.hpp> + +namespace Gentoo { + namespace Service { + class UseLocalProcessor : public Maintenance::FileProcessor { + public: + static const int FILETYPEID; + + void created(DB::Connection * dbc, const boost::filesystem::path & fn, const boost::filesystem::path & path) const; + void modified(DB::Connection * dbc, const boost::filesystem::path & fn, const boost::filesystem::path & path) const; + void deleted(DB::Connection * dbc, const boost::filesystem::path & fn) const; + }; + } +} + +#endif + |