From d9526499d6ab53b7d13d1434f748f6f2161c2e0a Mon Sep 17 00:00:00 2001 From: Sebastien Gonzalve Date: Thu, 20 Feb 2014 22:28:03 +0100 Subject: 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. --- parameter/SystemClass.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'parameter/SystemClass.h') 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 +#include 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& lstrError, + bool loadSubsystemsFromSharedLibraries(std::list& 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& lstrPluginFiles, list& lstrError); + bool loadPlugins(std::list& lstrPluginFiles, std::list& lstrError); // Subsystem factory CSubsystemLibrary* _pSubsystemLibrary; - list _subsystemLibraries; /**< Contains the list of all open plugin libs. */ + std::list _subsystemLibraries; /**< Contains the list of all open plugin libs. */ }; -- cgit v1.1