From 97deadf4378784d12a507123f9c81d7c2f84e14f Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Fri, 18 Mar 2022 15:10:22 +0800 Subject: [PATCH] App: minor change to LinkParams --- src/App/Link.cpp | 4 ++++ src/App/Link.h | 11 +++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/App/Link.cpp b/src/App/Link.cpp index c9e7175d51..c1cdf5e97c 100644 --- a/src/App/Link.cpp +++ b/src/App/Link.cpp @@ -57,6 +57,8 @@ import LinkParams LinkParams.define() ]]]*/ +namespace { + // Auto generated code. See class document of LinkParams. class LinkParamsP: public ParameterGrp::ObserverType { public: @@ -104,6 +106,8 @@ LinkParamsP *instance() { return inst; } +} // Anonymous namespace + // Auto generated code. See class document of LinkParams. ParameterGrp::handle LinkParams::getHandle() { return instance()->handle; diff --git a/src/App/Link.h b/src/App/Link.h index 3d8be848e7..a9b3adc6b0 100644 --- a/src/App/Link.h +++ b/src/App/Link.h @@ -677,11 +677,10 @@ public: static ParameterGrp::handle getHandle(); //@{ - /** Accessor for parameter CopyOnChangeApplyToAll - * - * Stores the last user choice of whether to apply CopyOnChange setup to all link - * that links to the same configurable object - */ + /// Accessor for parameter CopyOnChangeApplyToAll + /// + /// Stores the last user choice of whether to apply CopyOnChange setup to all link + /// that links to the same configurable object static const bool & getCopyOnChangeApplyToAll(); static const bool & defaultCopyOnChangeApplyToAll(); static void removeCopyOnChangeApplyToAll(); @@ -689,8 +688,8 @@ public: static const char *docCopyOnChangeApplyToAll(); //@} + // Auto generated code. See class document of LinkParams. }; - } // namespace App //[[[end]]]