1 |
// qsamplerUtilities.h |
// qsamplerUtilities.h |
2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
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 |
This program is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU General Public License |
modify it under the terms of the GNU General Public License |
23 |
#ifndef __qsamplerUtilities_h |
#ifndef __qsamplerUtilities_h |
24 |
#define __qsamplerUtilities_h |
#define __qsamplerUtilities_h |
25 |
|
|
26 |
#include <qstring.h> |
#include <QString> |
27 |
|
|
28 |
|
|
29 |
|
namespace qsamplerUtilities { |
30 |
|
|
31 |
struct lscpVersion_t { |
struct lscpVersion_t { |
32 |
int major; |
int major; |
33 |
int minor; |
int minor; |
34 |
}; |
}; |
35 |
|
|
36 |
QString lscpEscapePath(const QString& sPath); |
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(); |
lscpVersion_t getRemoteLscpVersion(); |
42 |
|
|
43 |
|
} // namespace qsamplerUtilities |
44 |
|
|
45 |
|
|
46 |
#endif // __qsamplerUtilities_h |
#endif // __qsamplerUtilities_h |