From bafefbcef6aef20fc3c591c56bb7a45d51cd097a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 1 Jun 2016 15:35:38 +0100 Subject: packageManifestProcessor isn't implemented yet, so just delete the stub --- .../maintenance/packageManifestProcessor.cpp | 26 ---------------------- .../service/maintenance/packageManifestProcessor.h | 22 ------------------ .../service/maintenancePackageTree.cpp | 2 -- 3 files changed, 50 deletions(-) delete mode 100644 gentoobrowse-api/service/maintenance/packageManifestProcessor.cpp delete mode 100644 gentoobrowse-api/service/maintenance/packageManifestProcessor.h diff --git a/gentoobrowse-api/service/maintenance/packageManifestProcessor.cpp b/gentoobrowse-api/service/maintenance/packageManifestProcessor.cpp deleted file mode 100644 index f4e67b3..0000000 --- a/gentoobrowse-api/service/maintenance/packageManifestProcessor.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "packageManifestProcessor.h" -#include -#include "utils/fileUtils.h" - -using namespace Gentoo::Utils::File; - -namespace Gentoo { - namespace Service { - const int PackageManifestProcessor::FILETYPEID = 8; - - void - PackageManifestProcessor::created(DB::Connection * dbc, const boost::filesystem::path & fn, const boost::filesystem::path &) - { - (void)dbc; - (void)fn; - } - - void - PackageManifestProcessor::deleted(DB::Connection * dbc, const boost::filesystem::path & fn) - { - (void)dbc; - (void)fn; - } - } -} - diff --git a/gentoobrowse-api/service/maintenance/packageManifestProcessor.h b/gentoobrowse-api/service/maintenance/packageManifestProcessor.h deleted file mode 100644 index e68257e..0000000 --- a/gentoobrowse-api/service/maintenance/packageManifestProcessor.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef GENTOOBROWSE_API_SERVICE_MAINTENANCE_PACKAGEMANIFESTPROC_H -#define GENTOOBROWSE_API_SERVICE_MAINTENANCE_PACKAGEMANIFESTPROC_H - -#include "../maintenanceimpl.h" -#include -#include -#include - -namespace Gentoo { - namespace Service { - class PackageManifestProcessor : public Maintenance::FileProcessor { - public: - static const int FILETYPEID; - - void created(DB::Connection * dbc, const boost::filesystem::path & fn, const boost::filesystem::path & path) override; - void deleted(DB::Connection * dbc, const boost::filesystem::path & fn) override; - }; - } -} - -#endif - diff --git a/gentoobrowse-api/service/maintenancePackageTree.cpp b/gentoobrowse-api/service/maintenancePackageTree.cpp index 03f8fe5..ce55c6a 100644 --- a/gentoobrowse-api/service/maintenancePackageTree.cpp +++ b/gentoobrowse-api/service/maintenancePackageTree.cpp @@ -10,7 +10,6 @@ #include #include #include "maintenance/categoryMetaProcessor.h" -#include "maintenance/packageManifestProcessor.h" #include "maintenance/packageMetaProcessor.h" #include "maintenance/ebuildMetaProcessor.h" #include "maintenance/useGlobalProcessor.h" @@ -81,7 +80,6 @@ namespace Gentoo { IceTray::AbstractDatabaseClient(d) { fpfs[CategoryMetaProcessor::FILETYPEID] = &createFileProessor; - fpfs[PackageManifestProcessor::FILETYPEID] = &createFileProessor; fpfs[PackageMetaProcessor::FILETYPEID] = &createFileProessor; fpfs[EbuildMetaProcessor::FILETYPEID] = &createFileProessor; fpfs[UseGlobalProcessor::FILETYPEID] = &createFileProessor; -- cgit v1.2.3