1 |
/* |
/* |
2 |
* Copyright (C) 2007 Andreas Persson |
* Copyright (C) 2007, 2008 Andreas Persson |
3 |
* |
* |
4 |
* This program is free software; you can redistribute it and/or |
* This program is free software; you can redistribute it and/or |
5 |
* modify it under the terms of the GNU General Public License as |
* modify it under the terms of the GNU General Public License as |
22 |
|
|
23 |
#include <config.h> |
#include <config.h> |
24 |
|
|
25 |
#include <linuxsampler/engines/InstrumentEditor.h> |
#include <linuxsampler/plugins/InstrumentEditor.h> |
26 |
|
|
27 |
|
#include <gig.h> |
28 |
|
|
29 |
class LinuxSamplerPlugin : public LinuxSampler::InstrumentEditor { |
class LinuxSamplerPlugin : public LinuxSampler::InstrumentEditor { |
30 |
public: |
public: |
34 |
virtual String Name(); |
virtual String Name(); |
35 |
virtual String Version(); |
virtual String Version(); |
36 |
virtual String Description(); |
virtual String Description(); |
37 |
|
virtual ~LinuxSamplerPlugin(); |
38 |
|
|
39 |
|
virtual bool runGigEditJob(); |
40 |
|
|
41 |
|
private: |
42 |
|
void* pApp; |
43 |
|
|
44 |
|
void __onSamplesToBeRemoved(std::list<gig::Sample*> lSamples); |
45 |
|
bool __onPollPeriod(); |
46 |
}; |
}; |
47 |
|
|
48 |
#endif // GIGEDIT_LINUXSAMPLER_PLUGIN_H |
#endif // GIGEDIT_LINUXSAMPLER_PLUGIN_H |