aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-06-27 20:16:40 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-06-27 20:16:40 +0000
commit2da3ae5389124d0b951e331c09d6e986efad0de9 (patch)
treec6d18a1b0263006b53a74844696bc37a2f3562f0
parent7466e3211f8274193b6126383ca1bf5bab969319 (diff)
downloadpaludis-2da3ae5389124d0b951e331c09d6e986efad0de9.tar.gz
paludis-2da3ae5389124d0b951e331c09d6e986efad0de9.tar.xz
r3610@snowflake: ciaranm | 2007-06-27 21:16:26 +0100
Dead code
-rw-r--r--paludis/files.m41
-rw-r--r--paludis/metadata_key_raw_printer-fwd.hh33
-rw-r--r--paludis/metadata_key_raw_printer.cc23
-rw-r--r--paludis/metadata_key_raw_printer.hh54
-rw-r--r--paludis/repositories/gentoo/ebin_entries.cc1
5 files changed, 0 insertions, 112 deletions
diff --git a/paludis/files.m4 b/paludis/files.m4
index fd9a859..8fbb463 100644
--- a/paludis/files.m4
+++ b/paludis/files.m4
@@ -26,7 +26,6 @@ add(`host_tuple_name', `hh', `cc', `sr', `test')
add(`mask_reasons', `hh', `cc', `se')
add(`match_package', `hh', `cc')
add(`metadata_key', `hh', `cc', `fwd')
-add(`metadata_key_raw_printer', `hh', `cc', `fwd')
add(`name', `hh', `cc', `fwd', `test', `sr', `se')
add(`package_database', `hh', `cc', `test', `se')
add(`package_id', `hh', `cc', `fwd', `se')
diff --git a/paludis/metadata_key_raw_printer-fwd.hh b/paludis/metadata_key_raw_printer-fwd.hh
deleted file mode 100644
index abaf703..0000000
--- a/paludis/metadata_key_raw_printer-fwd.hh
+++ /dev/null
@@ -1,33 +0,0 @@
-/* vim: set sw=4 sts=4 et foldmethod=syntax : */
-
-/*
- * Copyright (c) 2007 Ciaran McCreesh <ciaranm@ciaranm.org>
- *
- * This file is part of the Paludis package manager. Paludis is free software;
- * you can redistribute it and/or modify it under the terms of the GNU General
- * Public License version 2, as published by the Free Software Foundation.
- *
- * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#ifndef PALUDIS_GUARD_PALUDIS_METADATA_KEY_RAW_PRINTER_FWD_HH
-#define PALUDIS_GUARD_PALUDIS_METADATA_KEY_RAW_PRINTER_FWD_HH 1
-
-#include <paludis/util/attributes.hh>
-#include <iosfwd>
-
-namespace paludis
-{
- class MetadataKeyRawPrinter;
-
- std::ostream & operator<< (std::ostream &, const MetadataKeyRawPrinter &) PALUDIS_VISIBLE;
-}
-
-#endif
diff --git a/paludis/metadata_key_raw_printer.cc b/paludis/metadata_key_raw_printer.cc
deleted file mode 100644
index 50126be..0000000
--- a/paludis/metadata_key_raw_printer.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-/* vim: set sw=4 sts=4 et foldmethod=syntax : */
-
-/*
- * Copyright (c) 2007 Ciaran McCreesh <ciaranm@ciaranm.org>
- *
- * This file is part of the Paludis package manager. Paludis is free software;
- * you can redistribute it and/or modify it under the terms of the GNU General
- * Public License version 2, as published by the Free Software Foundation.
- *
- * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#include "metadata_key_raw_printer.hh"
-
-using namespace paludis;
-
diff --git a/paludis/metadata_key_raw_printer.hh b/paludis/metadata_key_raw_printer.hh
deleted file mode 100644
index 7a3928d..0000000
--- a/paludis/metadata_key_raw_printer.hh
+++ /dev/null
@@ -1,54 +0,0 @@
-/* vim: set sw=4 sts=4 et foldmethod=syntax : */
-
-/*
- * Copyright (c) 2007 Ciaran McCreesh <ciaranm@ciaranm.org>
- *
- * This file is part of the Paludis package manager. Paludis is free software;
- * you can redistribute it and/or modify it under the terms of the GNU General
- * Public License version 2, as published by the Free Software Foundation.
- *
- * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
- * details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#ifndef PALUDIS_GUARD_PALUDIS_METADATA_KEY_RAW_PRINTER_HH
-#define PALUDIS_GUARD_PALUDIS_METADATA_KEY_RAW_PRINTER_HH 1
-
-#include <paludis/metadata_key_raw_printer-fwd.hh>
-#include <paludis/metadata_key.hh>
-#include <paludis/util/visitor.hh>
-#include <paludis/util/private_implementation_pattern.hh>
-
-namespace paludis
-{
- class MetadataKeyRawPrinter :
- public ConstVisitor<MetadataKeyVisitorTypes>,
- private PrivateImplementationPattern<MetadataKeyRawPrinter>
- {
- friend std::ostream & operator<< (std::ostream &, const MetadataKeyRawPrinter &);
-
- public:
- MetadataKeyRawPrinter();
- ~MetadataKeyRawPrinter();
-
- void visit(const MetadataCollectionKey<IUseFlagCollection> &);
- void visit(const MetadataCollectionKey<InheritedCollection> &);
- void visit(const MetadataCollectionKey<UseFlagNameCollection> &);
- void visit(const MetadataCollectionKey<KeywordNameCollection> &);
- void visit(const MetadataSpecTreeKey<DependencySpecTree> &);
- void visit(const MetadataSpecTreeKey<URISpecTree> &);
- void visit(const MetadataSpecTreeKey<LicenseSpecTree> &);
- void visit(const MetadataSpecTreeKey<ProvideSpecTree> &);
- void visit(const MetadataSpecTreeKey<RestrictSpecTree> &);
- void visit(const MetadataPackageIDKey &);
- void visit(const MetadataStringKey &);
- };
-}
-
-#endif
diff --git a/paludis/repositories/gentoo/ebin_entries.cc b/paludis/repositories/gentoo/ebin_entries.cc
index 95b64e7..7a4b83d 100644
--- a/paludis/repositories/gentoo/ebin_entries.cc
+++ b/paludis/repositories/gentoo/ebin_entries.cc
@@ -26,7 +26,6 @@
#include <paludis/environment.hh>
#include <paludis/package_id.hh>
#include <paludis/metadata_key.hh>
-#include <paludis/metadata_key_raw_printer.hh>
#include <paludis/eapi.hh>
#include <paludis/util/strip.hh>
#include <paludis/util/log.hh>