summaryrefslogtreecommitdiffstats
path: root/parameter/SystemClass.h
diff options
context:
space:
mode:
authorPatrick Benavoli <patrickx.benavoli@intel.com>2011-11-20 20:04:35 +0100
committerDavid Wagner <david.wagner@intel.com>2014-02-10 17:15:01 +0100
commit9bed7cea60c371df60ab53c2e7ade186f04266f3 (patch)
treec9ca34c01602ba6628a62ba947a389b86340ee79 /parameter/SystemClass.h
parentee65e6d992e5fd7c81f62ced1cbed532989c09f7 (diff)
downloadexternal_parameter-framework-9bed7cea60c371df60ab53c2e7ade186f04266f3.zip
external_parameter-framework-9bed7cea60c371df60ab53c2e7ade186f04266f3.tar.gz
external_parameter-framework-9bed7cea60c371df60ab53c2e7ade186f04266f3.tar.bz2
PFW: Manage subsystem plugin dependency
BZ: 15204 As subsystem plugins might depend on one another, they can't always be all loaded at once. Because a certain order must sometimes be respected, the loading process has now become iterative, not merely failing upon the first loading failure. - Fixed a missing carriage return in the configurable domains listing functionallity Change-Id: I7e0d6ecbb258fcb1acaad78359e65f0e132d09ab Signed-off-by: Patrick Benavoli <patrickx.benavoli@intel.com> Reviewed-on: http://android.intel.com:8080/25408 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/SystemClass.h')
-rw-r--r--parameter/SystemClass.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/parameter/SystemClass.h b/parameter/SystemClass.h
index d80ab52..512c5ec 100644
--- a/parameter/SystemClass.h
+++ b/parameter/SystemClass.h
@@ -31,7 +31,7 @@
#pragma once
#include "ConfigurableElement.h"
-#include <vector>
+#include <list>
class CSubsystemLibrary;
@@ -54,7 +54,13 @@ private:
virtual bool childrenAreDynamic() const;
// Subsystem plugins
- bool getPluginFiles(const string& strPluginPath, vector<string>& astrPluginFiles) const;
+ bool getPluginFiles(const string& strPluginPath, list<string>& lstrPluginFiles) const;
+
+ // Plugin symbol computation
+ static string getPluginSymbol(const string& strPluginPath);
+
+ // Plugin loading
+ bool loadPlugins(list<string>& lstrPluginFiles, string& strError);
// ref only
CSubsystemLibrary* _pSubsystemLibrary;