/[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 2689 by schoenebeck, Sun Jan 4 17:19:19 2015 UTC revision 3177 by schoenebeck, Thu May 11 20:59:46 2017 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (C) 2007 - 2015 Andreas Persson   * Copyright (C) 2007 - 2017 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
# Line 20  Line 20 
20  #ifndef GIGEDIT_LINUXSAMPLER_PLUGIN_H  #ifndef GIGEDIT_LINUXSAMPLER_PLUGIN_H
21  #define GIGEDIT_LINUXSAMPLER_PLUGIN_H  #define GIGEDIT_LINUXSAMPLER_PLUGIN_H
22    
23  #include <config.h>  #ifdef HAVE_CONFIG_H
24    # include <config.h>
25  #include <linuxsampler/plugins/InstrumentEditor.h>  #endif
26    
27  #include <gig.h>  #ifdef LIBLINUXSAMPLER_HEADER_FILE
28    # include LIBLINUXSAMPLER_HEADER_FILE(plugins/InstrumentEditor.h)
29    #else
30    # include <linuxsampler/plugins/InstrumentEditor.h>
31    #endif
32    
33    #ifdef LIBGIG_HEADER_FILE
34    # include LIBGIG_HEADER_FILE(gig.h)
35    #else
36    # include <gig.h>
37    #endif
38    
39  class LinuxSamplerPlugin : public LinuxSampler::InstrumentEditor {  class LinuxSamplerPlugin : public LinuxSampler::InstrumentEditor {
40      public:      public:
# Line 39  class LinuxSamplerPlugin : public LinuxS Line 49  class LinuxSamplerPlugin : public LinuxS
49    
50      private:      private:
51          void* pApp;          void* pApp;
52            class LSPluginPrivate* priv;
53    
54          void __onSamplesToBeRemoved(std::list<gig::Sample*> lSamples);          void __onSamplesToBeRemoved(std::list<gig::Sample*> lSamples);
55          void __onVirtualKeyboardKeyHit(int Key, int Velocity);          void __onVirtualKeyboardKeyHit(int Key, int Velocity);
56          void __onVirtualKeyboardKeyReleased(int Key, int Velocity);          void __onVirtualKeyboardKeyReleased(int Key, int Velocity);
57          void __requestSamplerToSwitchInstrument(gig::Instrument* pInstrument);          void __requestSamplerToSwitchInstrument(gig::Instrument* pInstrument);
58          bool __onPollPeriod();          bool __onPollPeriod();
59            void __onDimRegionToBeChanged(gig::DimensionRegion* pDimRgn);
60            void __onDimRegionChanged(gig::DimensionRegion* pDimRgn);
61            void __onDimRegionChangedDebounced();
62  };  };
63    
64  #endif // GIGEDIT_LINUXSAMPLER_PLUGIN_H  #endif // GIGEDIT_LINUXSAMPLER_PLUGIN_H

Legend:
Removed from v.2689  
changed lines
  Added in v.3177

  ViewVC Help
Powered by ViewVC