diff options
author | Patrick Benavoli <patrickx.benavoli@intel.com> | 2011-09-05 16:53:58 +0200 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-10 17:14:54 +0100 |
commit | 592ae56e6f8bc22c57224eb0528dd80caffa70de (patch) | |
tree | 4c642b55443d0d96b403858c73e9e609ea7fbb57 /parameter/ParameterMgr.h | |
parent | 1387bda01b089d8e8df06339d9c15d53b3de6725 (diff) | |
download | external_parameter-framework-592ae56e6f8bc22c57224eb0528dd80caffa70de.zip external_parameter-framework-592ae56e6f8bc22c57224eb0528dd80caffa70de.tar.gz external_parameter-framework-592ae56e6f8bc22c57224eb0528dd80caffa70de.tar.bz2 |
parameter-framework: Improvements & corrections 2
BZ: 9026
1. auto sync off now causes a global forward resynchronization
2. Added version info
3. Libxml2 cleanup correclty scheduled for process end
4. Changed criterion rule id / name association array to const
5. Nesting counter used for logs now mutable
Change-Id: I1f86ee9a56a501ded97706a1d6b877b80950a021
Orig-Change-Id: I5a852736f3c5dd592795a2a70eef42ed9d4695b7
Signed-off-by: Patrick Benavoli <patrickx.benavoli@intel.com>
Reviewed-on: http://android.intel.com:8080/20206
Reviewed-by: Barthes, FabienX <fabienx.barthes@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'parameter/ParameterMgr.h')
-rw-r--r-- | parameter/ParameterMgr.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/parameter/ParameterMgr.h b/parameter/ParameterMgr.h index 003a643..74440f8 100644 --- a/parameter/ParameterMgr.h +++ b/parameter/ParameterMgr.h @@ -40,6 +40,7 @@ #include <map> #include <vector> + class CElementLibrarySet; class CSubsystemLibrary; class CSystemClass; @@ -90,6 +91,11 @@ class CParameterMgr : private CElement, private IRemoteCommandHandler, private I return string(_pcCommandName) + " " + _pcHelp; } }; + + // Version + static const uint32_t guiEditionMajor = 0x0; + static const uint32_t guiEditionMinor = 0x1; + static const uint32_t guiRevision = 0x1; public: // Logger interface class ILogger @@ -179,6 +185,8 @@ private: ////////////////:: Remote command parsers /// Help CommandStatus helpCommandProcess(const IRemoteCommand& remoteCommand, string& strResult); + /// Version + CommandStatus versionCommandProcess(const IRemoteCommand& remoteCommand, string& strResult); /// Status CommandStatus statusCommandProcess(const IRemoteCommand& remoteCommand, string& strResult); /// Tuning Mode @@ -313,7 +321,7 @@ private: IRemoteProcessorServerInterface* _pRemoteProcessorServer; // Parser description array - static const SRemoteCommandParserItem gaRemoteCommandParserItems[]; + static const SRemoteCommandParserItem gastRemoteCommandParserItems[]; // Parser description array size static const uint32_t guiNbRemoteCommandParserItems; @@ -326,6 +334,6 @@ private: // Logging ILogger* _pLogger; - uint32_t _uiLogDepth; + mutable uint32_t _uiLogDepth; }; |