/* vim: set sw=4 sts=4 et foldmethod=syntax : */ /* * Copyright (c) 2008, 2009, 2010 Ciaran McCreesh * * 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_ELIKE_PACKAGE_DEP_SPEC_HH #define PALUDIS_GUARD_PALUDIS_ELIKE_PACKAGE_DEP_SPEC_HH 1 #include #include namespace paludis { namespace n { typedef Name add_package_requirement; typedef Name add_version_requirement; typedef Name check_sanity; typedef Name get_remove_trailing_version; typedef Name get_remove_version_operator; typedef Name has_version_operator; typedef Name options_for_partially_made_package_dep_spec; typedef Name remove_trailing_repo_if_exists; typedef Name remove_trailing_slot_if_exists; typedef Name remove_trailing_square_bracket_if_exists; } struct GenericELikePackageDepSpecParseFunctions { NamedValue > add_package_requirement; NamedValue > add_version_requirement; NamedValue > check_sanity; NamedValue > get_remove_trailing_version; NamedValue > get_remove_version_operator; NamedValue > has_version_operator; NamedValue > options_for_partially_made_package_dep_spec; NamedValue > remove_trailing_repo_if_exists; NamedValue > remove_trailing_slot_if_exists; NamedValue > remove_trailing_square_bracket_if_exists; }; } #endif