aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/e_repository_params.hh
blob: 13382f1a5121f24785adac9bc7d757c9a180f1f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/* vim: set sw=4 sts=4 et foldmethod=syntax : */

/*
 * Copyright (c) 2006, 2007, 2008, 2009 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_REPOSITORIES_E_E_REPOSITORY_PARAMS_HH
#define PALUDIS_GUARD_PALUDIS_REPOSITORIES_E_E_REPOSITORY_PARAMS_HH 1

#include <paludis/util/fs_entry.hh>
#include <paludis/util/named_value.hh>

/** \file
 * Declaration for the ERepositoryParams class.
 *
 * \ingroup grperepository
 */

namespace paludis
{
    class Environment;
    class PackageDatabase;
    class ERepository;

    typedef Sequence<std::tr1::shared_ptr<const ERepository> > ERepositorySequence;

    namespace n
    {
        struct append_repository_name_to_write_cache;
        struct auto_profiles;
        struct binary_destination;
        struct binary_distdir;
        struct binary_keywords;
        struct binary_uri_prefix;
        struct builddir;
        struct cache;
        struct distdir;
        struct eapi_when_unknown;
        struct eapi_when_unspecified;
        struct eclassdirs;
        struct entry_format;
        struct environment;
        struct ignore_deprecated_profiles;
        struct layout;
        struct location;
        struct master_repositories;
        struct names_cache;
        struct newsdir;
        struct profile_eapi_when_unspecified;
        struct profile_layout;
        struct profiles;
        struct profiles_explicitly_set;
        struct securitydir;
        struct setsdir;
        struct sync;
        struct sync_options;
        struct use_manifest;
        struct write_bin_uri_prefix;
        struct write_cache;
    }

    namespace erepository
    {
#include <paludis/repositories/e/e_repository_params-se.hh>

        struct ERepositoryParams
        {
            NamedValue<n::append_repository_name_to_write_cache, bool> append_repository_name_to_write_cache;
            NamedValue<n::auto_profiles, bool> auto_profiles;
            NamedValue<n::binary_destination, bool> binary_destination;
            NamedValue<n::binary_distdir, FSEntry> binary_distdir;
            NamedValue<n::binary_keywords, std::string> binary_keywords;
            NamedValue<n::binary_uri_prefix, std::string> binary_uri_prefix;
            NamedValue<n::builddir, FSEntry> builddir;
            NamedValue<n::cache, FSEntry> cache;
            NamedValue<n::distdir, FSEntry> distdir;
            NamedValue<n::eapi_when_unknown, std::string> eapi_when_unknown;
            NamedValue<n::eapi_when_unspecified, std::string> eapi_when_unspecified;
            NamedValue<n::eclassdirs, std::tr1::shared_ptr<const FSEntrySequence> > eclassdirs;
            NamedValue<n::entry_format, std::string> entry_format;
            NamedValue<n::environment, Environment *> environment;
            NamedValue<n::ignore_deprecated_profiles, bool> ignore_deprecated_profiles;
            NamedValue<n::layout, std::string> layout;
            NamedValue<n::location, FSEntry> location;
            NamedValue<n::master_repositories, std::tr1::shared_ptr<const ERepositorySequence> > master_repositories;
            NamedValue<n::names_cache, FSEntry> names_cache;
            NamedValue<n::newsdir, FSEntry> newsdir;
            NamedValue<n::profile_eapi_when_unspecified, std::string> profile_eapi_when_unspecified;
            NamedValue<n::profile_layout, std::string> profile_layout;
            NamedValue<n::profiles, std::tr1::shared_ptr<const FSEntrySequence> > profiles;
            NamedValue<n::profiles_explicitly_set, bool> profiles_explicitly_set;
            NamedValue<n::securitydir, FSEntry> securitydir;
            NamedValue<n::setsdir, FSEntry> setsdir;
            NamedValue<n::sync, std::string> sync;
            NamedValue<n::sync_options, std::string> sync_options;
            NamedValue<n::use_manifest, erepository::UseManifest> use_manifest;
            NamedValue<n::write_bin_uri_prefix, std::string> write_bin_uri_prefix;
            NamedValue<n::write_cache, FSEntry> write_cache;
        };
    }

}

#endif