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

make_class_FetchActionOptions()
{
    visible
    allow_named_args

    key fetch_unneeded bool
    key safe_resume bool

    doxygen_comment << "END"
        /**
         * Options for FetchAction.
         *
         * \see FetchAction
         * \ingroup g_actions
         * \since 0.26
         * \nosubgrouping
         */
END
}


make_class_InstallActionOptions()
{
    visible
    allow_named_args

    key no_config_protect bool
    key debug_build InstallActionDebugOption
    key checks InstallActionChecksOption
    key destination "tr1::shared_ptr<Repository>"

    doxygen_comment << "END"
        /**
         * Options for InstallAction.
         *
         * \see InstallAction
         * \ingroup g_actions
         * \since 0.26
         * \nosubgrouping
         */
END
}

make_class_UninstallActionOptions()
{
    visible
    allow_named_args

    key no_config_protect bool

    doxygen_comment << "END"
        /**
         * Options for UninstallAction.
         *
         * \see UninstallAction
         * \ingroup g_actions
         * \since 0.26
         * \nosubgrouping
         */
END
}

make_class_FetchActionFailure()
{
    visible
    allow_named_args

    key target_file std::string
    key requires_manual_fetching bool
    key failed_automatic_fetching bool
    key failed_integrity_checks std::string

    doxygen_comment << "END"
        /**
         * A failed fetch action part.
         *
         * \see FetchActionError
         * \ingroup g_actions
         * \ingroup g_exceptions
         * \ingroup g_actions
         * \nosubgrouping
         */
END
}