/[svn]/qsampler/trunk/src/qsamplerUtilities.h
ViewVC logotype

Contents of /qsampler/trunk/src/qsamplerUtilities.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1402 - (show annotations) (download) (as text)
Fri Oct 12 00:03:27 2007 UTC (16 years, 6 months ago) by schoenebeck
File MIME type: text/x-c++hdr
File size: 1388 byte(s)
* added support for escape sequences in LSCP response fields
* bugfix in escaping file names for LSCP: characters with an one digit hex
  code caused a space (i.e. "\x a" instead of "\x0a")

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

  ViewVC Help
Powered by ViewVC