2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
5 |
|
Copyright (C) 2007, 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 |
27 |
#include <stdio.h> |
#include <stdio.h> |
28 |
#include <qregexp.h> |
#include <qregexp.h> |
29 |
|
|
30 |
|
using namespace QSampler; |
31 |
|
|
32 |
namespace qsamplerUtilities { |
namespace qsamplerUtilities { |
33 |
|
|
34 |
static int _hexToNumber(char hex_digit) { |
static int _hexToNumber(char hex_digit) { |
170 |
{ |
{ |
171 |
lscpVersion_t result = { 0, 0 }; |
lscpVersion_t result = { 0, 0 }; |
172 |
|
|
173 |
qsamplerMainForm *pMainForm = qsamplerMainForm::getInstance(); |
MainForm* pMainForm = MainForm::getInstance(); |
174 |
if (pMainForm == NULL) |
if (pMainForm == NULL) |
175 |
return result; |
return result; |
176 |
if (pMainForm->client() == NULL) |
if (pMainForm->client() == NULL) |
186 |
} |
} |
187 |
|
|
188 |
} // namespace qsamplerUtilities |
} // namespace qsamplerUtilities |
189 |
|
|
190 |
|
|
191 |
|
// end of qsamplerUtilities.cpp |