/[svn]/linuxsampler/trunk/src/engines/common/InstrumentScriptVMDynVars.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/common/InstrumentScriptVMDynVars.h

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

revision 2947 by schoenebeck, Wed Jul 13 15:51:06 2016 UTC revision 2948 by schoenebeck, Fri Jul 15 15:29:04 2016 UTC
# Line 29  namespace LinuxSampler { Line 29  namespace LinuxSampler {
29          InstrumentScriptVM* m_vm;          InstrumentScriptVM* m_vm;
30      };      };
31    
32        /**
33         * Implements the built-in $NI_CALLBACK_ID script variable.
34         */
35        class InstrumentScriptVMDynVar_NI_CALLBACK_ID : public VMDynIntVar {
36        public:
37            InstrumentScriptVMDynVar_NI_CALLBACK_ID(InstrumentScriptVM* parent) : m_vm(parent) {}
38            bool isAssignable() const OVERRIDE { return false; }
39            int evalInt() OVERRIDE;
40        protected:
41            InstrumentScriptVM* m_vm;
42        };
43    
44  } // namespace LinuxSampler  } // namespace LinuxSampler
45    
46  #endif // LS_INSTRSCRIPTVMDYNVARS_H  #endif // LS_INSTRSCRIPTVMDYNVARS_H

Legend:
Removed from v.2947  
changed lines
  Added in v.2948

  ViewVC Help
Powered by ViewVC