/[svn]/linuxsampler/trunk/src/scriptvm/CoreVMDynVars.h
ViewVC logotype

Annotation of /linuxsampler/trunk/src/scriptvm/CoreVMDynVars.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3557 - (hide annotations) (download) (as text)
Sun Aug 18 00:06:04 2019 UTC (4 years, 8 months ago) by schoenebeck
File MIME type: text/x-c++hdr
File size: 998 byte(s)
* NKSP: Introducing 64 bit support for NKSP integer scripts
  variables (declare $foo).
* Require C++11 compiler support.
* Autoconf: Added m4/ax_cxx_compile_stdcxx.m4 macro which is used
  for checking in configure for C++11 support (as mandatory
  requirement) and automatically adds compiler argument if required
  (e.g. -std=C++11).
* Bumped version (2.1.1.svn3).

1 schoenebeck 2942 /*
2 schoenebeck 3557 * Copyright (c) 2016 - 2019 Christian Schoenebeck
3 schoenebeck 2942 *
4     * http://www.linuxsampler.org
5     *
6     * This file is part of LinuxSampler and released under the same terms.
7     * See README file for details.
8     */
9    
10     #ifndef LS_COREVMDYNVARS_H
11     #define LS_COREVMDYNVARS_H
12    
13     #include "../common/global.h"
14     #include "common.h"
15    
16     namespace LinuxSampler {
17    
18     class ScriptVM;
19    
20     ///////////////////////////////////////////////////////////////////////////
21     // implementations of core built-in dynamic variables ...
22    
23     /**
24     * Implements the built-in $NKSP_REAL_TIMER script variable.
25     */
26     class CoreVMDynVar_NKSP_REAL_TIMER : public VMDynIntVar {
27     public:
28     bool isAssignable() const OVERRIDE { return false; }
29 schoenebeck 3557 vmint evalInt() OVERRIDE;
30 schoenebeck 2942 };
31    
32     /**
33     * Implements the built-in $NKSP_PERF_TIMER script variable.
34     */
35     class CoreVMDynVar_NKSP_PERF_TIMER : public VMDynIntVar {
36     public:
37     bool isAssignable() const OVERRIDE { return false; }
38 schoenebeck 3557 vmint evalInt() OVERRIDE;
39 schoenebeck 2942 };
40    
41     } // namespace LinuxSampler
42    
43     #endif // LS_COREVMDYNVARS_H

  ViewVC Help
Powered by ViewVC