aboutsummaryrefslogtreecommitdiff
path: root/misc/make_sr.bash
diff options
context:
space:
mode:
Diffstat (limited to 'misc/make_sr.bash')
-rwxr-xr-xmisc/make_sr.bash12
1 files changed, 11 insertions, 1 deletions
diff --git a/misc/make_sr.bash b/misc/make_sr.bash
index 01d692b06..381c9faf8 100755
--- a/misc/make_sr.bash
+++ b/misc/make_sr.bash
@@ -37,6 +37,7 @@ while read a ; do
a=${a%% *}
want_named_args=
+ want_visible=
want_keys=( )
want_key_types=( )
want_comparison_operators=
@@ -57,6 +58,11 @@ while read a ; do
want_named_args=yes
}
+ visible()
+ {
+ want_visible=yes
+ }
+
doxygen_comment()
{
:
@@ -123,7 +129,11 @@ while read a ; do
}
if [[ "${what_to_make}" == "--header" ]] ; then
- echo "class ${a}"
+ if [[ -z ${want_visible} ]] ; then
+ echo "class ${a}"
+ else
+ echo "class PALUDIS_VISIBLE ${a}"
+ fi
echo "{"
echo " public:"
echo