[3e4acc]: libkwave / PluginContext.h  Maximize  Restore  History

Download this file

56 lines (45 with data), 1.8 kB

 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/***************************************************************************
PluginContext.h - collects all references a plugin needs
-------------------
begin : Fri Jul 28 2000
copyright : (C) 2000 by Thomas Eschenbacher
email : Thomas.Eschenbacher@gmx.de
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef _PLUGIN_CONTEXT_H_
#define _PLUGIN_CONTEXT_H_
#include "config.h"
namespace Kwave { class PluginManager; }
#include <QString>
class PluginContext
{
public:
/** Constructor */
PluginContext(
Kwave::PluginManager &plugin_mgr,
void *mod_handle,
const QString &mod_name,
const QString &mod_version,
const QString &mod_author
)
:m_plugin_manager(plugin_mgr),
m_handle(mod_handle),
m_name(mod_name),
m_version(mod_version),
m_author(mod_author)
{}
Kwave::PluginManager &m_plugin_manager;
void *m_handle;
QString m_name;
QString m_version;
QString m_author;
};
#endif // _PLUGIN_CONTEXT_H_
/* end of libgui/PluginContext.h */