summaryrefslogtreecommitdiffstats
path: root/parameter/SystemClass.h
diff options
context:
space:
mode:
authorSebastien Gonzalve <oznog@zarb.org>2014-02-20 22:28:03 +0100
committerDavid Wagner <david.wagner@intel.com>2014-09-11 14:25:02 +0200
commitd9526499d6ab53b7d13d1434f748f6f2161c2e0a (patch)
tree8d2e2db275800821d4bf8873fc16b686bca60b2d /parameter/SystemClass.h
parentffbf43b383bb8693741430b02c24dbc9b127f7f7 (diff)
downloadexternal_parameter-framework-d9526499d6ab53b7d13d1434f748f6f2161c2e0a.zip
external_parameter-framework-d9526499d6ab53b7d13d1434f748f6f2161c2e0a.tar.gz
external_parameter-framework-d9526499d6ab53b7d13d1434f748f6f2161c2e0a.tar.bz2
Remove using std::XXX from headers
This is a bad practice to have using in headers because it pollutes the namespace of any user of that header.
Diffstat (limited to 'parameter/SystemClass.h')
-rw-r--r--parameter/SystemClass.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/parameter/SystemClass.h b/parameter/SystemClass.h
index b4b44e5..3ffbf25 100644
--- a/parameter/SystemClass.h
+++ b/parameter/SystemClass.h
@@ -32,6 +32,7 @@
#include "ConfigurableElement.h"
#include "SubsystemPlugins.h"
#include <list>
+#include <string>
class CSubsystemLibrary;
@@ -51,7 +52,7 @@ public:
* @return true if the plugins succesfully started or that a fallback is available,
false otherwise.
*/
- bool loadSubsystems(string& strError, const CSubsystemPlugins* pSubsystemPlugins,
+ bool loadSubsystems(std::string& strError, const CSubsystemPlugins* pSubsystemPlugins,
bool bVirtualSubsystemFallback = false);
// Subsystem factory
const CSubsystemLibrary* getSubsystemLibrary() const;
@@ -71,8 +72,8 @@ public:
void cleanSubsystemsNeedToResync();
// base
- virtual bool init(string& strError);
- virtual string getKind() const;
+ virtual bool init(std::string& strError);
+ virtual std::string getKind() const;
// From IXmlSource
virtual void toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const;
@@ -90,11 +91,11 @@ private:
*
* @return true if all plugins have been succesfully loaded, false otherwises.
*/
- bool loadSubsystemsFromSharedLibraries(list<string>& lstrError,
+ bool loadSubsystemsFromSharedLibraries(std::list<std::string>& lstrError,
const CSubsystemPlugins* pSubsystemPlugins);
// Plugin symbol computation
- static string getPluginSymbol(const string& strPluginPath);
+ static std::string getPluginSymbol(const std::string& strPluginPath);
/** Load subsystem plugin shared libraries.
*
@@ -106,10 +107,10 @@ private:
* When false is returned, some plugins MIHGT have been loaded
* but the lstrPluginFiles is accurate.
*/
- bool loadPlugins(list<string>& lstrPluginFiles, list<string>& lstrError);
+ bool loadPlugins(std::list<std::string>& lstrPluginFiles, std::list<std::string>& lstrError);
// Subsystem factory
CSubsystemLibrary* _pSubsystemLibrary;
- list<void*> _subsystemLibraries; /**< Contains the list of all open plugin libs. */
+ std::list<void*> _subsystemLibraries; /**< Contains the list of all open plugin libs. */
};