1 // qsamplerUtilities.h
2 //
3 /****************************************************************************
4    Copyright (C) 2004-2020, rncbc aka Rui Nuno Capela. All rights reserved.
5    Copyright (C) 2007, 2008 Christian Schoenebeck
6 
7    This program is free software; you can redistribute it and/or
8    modify it under the terms of the GNU General Public License
9    as published by the Free Software Foundation; either version 2
10    of the License, or (at your option) any later version.
11 
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16 
17    You should have received a copy of the GNU General Public License along
18    with this program; if not, write to the Free Software Foundation, Inc.,
19    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 
21 *****************************************************************************/
22 
23 #ifndef __qsamplerUtilities_h
24 #define __qsamplerUtilities_h
25 
26 #include <QString>
27 
28 
29 namespace qsamplerUtilities {
30 
31 struct lscpVersion_t {
32 	int major;
33 	int minor;
34 };
35 
36 QByteArray lscpEscapePath(const QString& sPath);
37 QString lscpEscapedPathToPosix(const char* sPath);
38 QByteArray lscpEscapeText(const QString& sText);
39 QString lscpEscapedTextToRaw(const char* sText);
40 
41 lscpVersion_t getRemoteLscpVersion();
42 
43 } // namespace qsamplerUtilities
44 
45 
46 #endif  // __qsamplerUtilities_h
47