Parent Directory | Revision Log
* Instrument script classes now exported with the liblinuxsampler C++ API. * Added new API method ScriptVM::syntaxHighlighting() which provides a convenient syntax highlighting backend for external instrument script editor applications. * Bumped version (2.0.0.svn5).
1 | /* |
2 | * Copyright (c) 2015-2016 Christian Schoenebeck |
3 | * |
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 | #include "NkspScanner.h" |
11 | |
12 | namespace LinuxSampler { |
13 | |
14 | NkspScanner::NkspScanner(std::istream* is) : CodeScanner(is) { |
15 | createScanner(is); |
16 | processAll(); |
17 | } |
18 | |
19 | NkspScanner::~NkspScanner() { |
20 | if (scanner) destroyScanner(); |
21 | } |
22 | |
23 | } // namespace LinuxSampler |
ViewVC Help | |
Powered by ViewVC |