aboutsummaryrefslogtreecommitdiff
path: root/paludis/repository.sr
blob: 45258b9f153a3d92094d49d91f16c8adb34e602a (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
118
#!/bin/bash
# vim: set sw=4 sts=4 et :

make_class_RepositoryCapabilities()
{
    visible

    key installed_interface "RepositoryInstalledInterface *"
    key sets_interface "RepositorySetsInterface *"
    key syncable_interface "RepositorySyncableInterface *"
    key use_interface "RepositoryUseInterface *"
    key world_interface "RepositoryWorldInterface *"
    key mirrors_interface "RepositoryMirrorsInterface *"
    key environment_variable_interface "RepositoryEnvironmentVariableInterface *"
    key provides_interface "RepositoryProvidesInterface *"
    key virtuals_interface "RepositoryVirtualsInterface *"
    key make_virtuals_interface "RepositoryMakeVirtualsInterface *"
    key destination_interface "RepositoryDestinationInterface *"
    key licenses_interface "RepositoryLicensesInterface *"
    key e_interface "RepositoryEInterface *"
    key hook_interface "RepositoryHookInterface *"
    key qa_interface "RepositoryQAInterface *"

    doxygen_comment << "END"
        /**
         * Optional interfaces that may be provided by a Repository.
         *
         * \see Repository
         * \ingroup grprepository
         * \nosubgrouping
         */
END

    allow_named_args
}

make_class_RepositoryEInterfaceProfilesDescLine()
{
    visible

    key path FSEntry
    key arch std::string
    key status std::string
    key profile "tr1::shared_ptr<ERepositoryProfile>"
    allow_named_args

    doxygen_comment << "END"
        /**
         * A profiles.desc line in a Repository implementing RepositoryEInterface.
         *
         * \see Repository
         * \see RepositoryEInterface
         * \nosubgrouping
         */
END
}

make_class_RepositoryProvidesEntry()
{
    visible

    key virtual_name QualifiedPackageName
    key provided_by "tr1::shared_ptr<const PackageID>"

    allow_named_args

    doxygen_comment << "END"
        /**
         * A provides entry in a Repository implementing RepositoryProvidesInterface.
         *
         * \see Repository
         * \see RepositoryProvidesInterface
         * \nosubgrouping
         */
END
}

make_class_RepositoryVirtualsEntry()
{
    visible

    key virtual_name QualifiedPackageName
    key provided_by_spec "tr1::shared_ptr<const PackageDepSpec>"

    allow_named_args

    doxygen_comment << "END"
        /**
         * A virtuals entry in a Repository implementing RepositoryVirtualsInterface.
         *
         * \see Repository
         * \see RepositoryVirtualsInterface
         * \nosubgrouping
         */
END
}

make_class_MergeOptions()
{
    visible

    key package_id "tr1::shared_ptr<const PackageID>"
    key image_dir FSEntry
    key environment_file FSEntry

    allow_named_args

    doxygen_comment << "END"
        /**
         * Parameters for RepositoryDestinationInterface::merge.
         *
         * \see RepositoryDestinationInterface
         * \ingroup grprepository
         * \nosubgrouping
         */
END
}