1
/***************************************************************************
2
cpluginmanager.h - description
4
begin : Fri Sep 27 2002
5
copyright : (C) 2002-2003 by Mathias K�ster
6
email : mathen@users.berlios.de
7
***************************************************************************/
9
/***************************************************************************
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
16
***************************************************************************/
18
#ifndef CPLUGINMANAGER_H
19
#define CPLUGINMANAGER_H
22
*@author Mathias K�ster
25
#include <dclib/dcos.h>
26
#include <dclib/core/cobject.h>
27
#include <dclib/core/cplugin.h>
28
#include <dclib/core/clist.h>
29
#include <dclib/core/csingleton.h>
35
template class DLL_EXPORT CList<CPlugin>;
36
template class DLL_EXPORT CSingleton<CPluginManager>;
37
template class DLL_EXPORT CList<CPluginObject>;
40
class DLL_EXPORT CPluginObject : public CObject {
45
virtual ~CPluginObject() {};
48
ePluginStruct * m_ePluginStruct;
57
class DLL_EXPORT CPluginManager : public CSingleton<CPluginManager>, public CObject {
62
virtual ~CPluginManager();
71
virtual bool Init( CPluginObject * plugin );
75
friend class CSingleton<CPluginManager>;
78
CList<CPluginObject> * m_pPluginList;
80
CPluginInstance * m_pPluginInstance;