/[svn]/gigedit/trunk/src/plugin/linuxsamplerplugin.h
ViewVC logotype

Diff of /gigedit/trunk/src/plugin/linuxsamplerplugin.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1654 by schoenebeck, Wed Jan 30 02:20:48 2008 UTC revision 1877 by schoenebeck, Fri Mar 27 12:18:12 2009 UTC
# Line 23  Line 23 
23  #include <config.h>  #include <config.h>
24    
25  #include <linuxsampler/plugins/InstrumentEditor.h>  #include <linuxsampler/plugins/InstrumentEditor.h>
 #include "../gigedit/gigedit.h"  
26    
27  #include <gig.h>  #include <gig.h>
28    
29  class LinuxSamplerPlugin : public LinuxSampler::InstrumentEditor, public GigEditJob {  class LinuxSamplerPlugin : public LinuxSampler::InstrumentEditor {
30      public:      public:
31          LinuxSamplerPlugin();          LinuxSamplerPlugin();
32          virtual int Main(void* pInstrument, String sTypeName, String sTypeVersion);          virtual int Main(void* pInstrument, String sTypeName, String sTypeVersion); // old LS plugin API entry point
33            virtual int Main(void* pInstrument, String sTypeName, String sTypeVersion, void* pUserData); // new LS plugin API entry point
34          virtual bool IsTypeSupported(String sTypeName, String sTypeVersion);          virtual bool IsTypeSupported(String sTypeName, String sTypeVersion);
35          virtual String Name();          virtual String Name();
36          virtual String Version();          virtual String Version();
37          virtual String Description();          virtual String Description();
38          virtual ~LinuxSamplerPlugin();          virtual ~LinuxSamplerPlugin();
39    
         virtual bool runGigEditJob();  
   
40      private:      private:
41          void* pApp;          void* pApp;
42    
43          void __onSamplesToBeRemoved(std::list<gig::Sample*> lSamples);          void __onSamplesToBeRemoved(std::list<gig::Sample*> lSamples);
44            void __onVirtualKeyboardKeyHit(int Key, int Velocity);
45            void __onVirtualKeyboardKeyReleased(int Key, int Velocity);
46            bool __onPollPeriod();
47  };  };
48    
49  #endif // GIGEDIT_LINUXSAMPLER_PLUGIN_H  #endif // GIGEDIT_LINUXSAMPLER_PLUGIN_H

Legend:
Removed from v.1654  
changed lines
  Added in v.1877

  ViewVC Help
Powered by ViewVC