summaryrefslogtreecommitdiff
path: root/include/pluginManager.h
blob: 215f2245fc573d2b652f1c86340c69cc5cd4ec15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * pluginManager.h
 *
 *  Created on: 05.09.2012
 *      Author: savop
 */

#ifndef PLUGINMANAGER_H_
#define PLUGINMANAGER_H_

#include "../include/plugin.h"

namespace upnp {

class cPluginManager {
public:
  cUPnPResourceProvider* CreateResourceProviderInstance(const std::string& schema);
private:
  void LoadPlugins();
  void UnloadPlugins();

  typedef std::list<cUPnPResourceProvider> ProviderList;
  typedef std::list<cMediaProfiler> ProfilerList;

  ProviderList providers;
  ProfilerList profilers;
};

}  // namespace upnp

#endif /* PLUGINMANAGER_H_ */