mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-27 13:34:33 -04:00
CBString modified and integrated
- CBString is used instead of QString, as PoC - removed submodule
This commit is contained in:
parent
d549840eed
commit
a2484fdb5f
12 changed files with 217 additions and 134 deletions
|
@ -15,20 +15,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
|
||||
//TODO: modify properly
|
||||
|
||||
#ifdef QT_CORE_LIB
|
||||
#ifndef QT_CORE_LIB
|
||||
// Use Qt class, if Qt is available
|
||||
#include <QString>
|
||||
#define UString QString
|
||||
#else
|
||||
// Use own implementation
|
||||
// Use Bstrlib
|
||||
#define BSTRLIB_DOESNT_THROW_EXCEPTIONS
|
||||
#include "../bstrlib/bstrwrap.h"
|
||||
class UString : public CBString {
|
||||
};
|
||||
|
||||
#define UString CBString
|
||||
#endif // QT_CORE_LIB
|
||||
|
||||
UString usprintf(const char* fmt, ...);
|
||||
|
||||
|
||||
|
||||
#endif // USTRING_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue