package_dep_spec_properties.hh

00001 /* vim: set sw=4 sts=4 et foldmethod=syntax : */
00002 
00003 /*
00004  * Copyright (c) 2009 Ciaran McCreesh
00005  *
00006  * This file is part of the Paludis package manager. Paludis is free software;
00007  * you can redistribute it and/or modify it under the terms of the GNU General
00008  * Public License version 2, as published by the Free Software Foundation.
00009  *
00010  * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
00011  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00012  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
00013  * details.
00014  *
00015  * You should have received a copy of the GNU General Public License along with
00016  * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
00017  * Place, Suite 330, Boston, MA  02111-1307  USA
00018  */
00019 
00020 #ifndef PALUDIS_GUARD_PALUDIS_PACKAGE_DEP_SPEC_PROPERTIES_HH
00021 #define PALUDIS_GUARD_PALUDIS_PACKAGE_DEP_SPEC_PROPERTIES_HH 1
00022 
00023 #include <paludis/package_dep_spec_properties-fwd.hh>
00024 #include <paludis/util/named_value.hh>
00025 #include <paludis/util/tribool.hh>
00026 
00027 namespace paludis
00028 {
00029     namespace n
00030     {
00031         struct has_additional_requirements;
00032         struct has_category_name_part;
00033         struct has_from_repository;
00034         struct has_in_repository;
00035         struct has_installable_to_path;
00036         struct has_installable_to_repository;
00037         struct has_installed_at_path;
00038         struct has_package;
00039         struct has_package_name_part;
00040         struct has_slot_requirement;
00041         struct has_tag;
00042         struct has_version_requirements;
00043     }
00044 
00045     /**
00046      * Parameters for package_dep_spec_has_properties.
00047      *
00048      * \since 0.34.1
00049      * \ingroup g_dep_spec
00050      */
00051     struct PackageDepSpecProperties
00052     {
00053         NamedValue<n::has_additional_requirements, Tribool> has_additional_requirements;
00054         NamedValue<n::has_category_name_part, Tribool> has_category_name_part;
00055         NamedValue<n::has_from_repository, Tribool> has_from_repository;
00056         NamedValue<n::has_in_repository, Tribool> has_in_repository;
00057         NamedValue<n::has_installable_to_path, Tribool> has_installable_to_path;
00058         NamedValue<n::has_installable_to_repository, Tribool> has_installable_to_repository;
00059         NamedValue<n::has_installed_at_path, Tribool> has_installed_at_path;
00060         NamedValue<n::has_package, Tribool> has_package;
00061         NamedValue<n::has_package_name_part, Tribool> has_package_name_part;
00062         NamedValue<n::has_slot_requirement, Tribool> has_slot_requirement;
00063         NamedValue<n::has_tag, Tribool> has_tag;
00064         NamedValue<n::has_version_requirements, Tribool> has_version_requirements;
00065     };
00066 }
00067 
00068 #endif

Generated on Mon Sep 21 10:36:08 2009 for paludis by  doxygen 1.5.4