1
//========================================================================
7
// Copyright 2005 Albert Astals Cid <aacid@kde.org>
9
//========================================================================
14
#include "CharTypes.h"
21
// Create an unicode string
22
UGooString(Unicode *u, int l);
24
// Create a unicode string from <str>.
25
UGooString(GooString &str);
27
// Copy the unicode string
28
UGooString(const UGooString &str);
30
// Create a unicode string from <str>.
31
UGooString(const char *str);
37
int getLength() const { return length; }
39
// Compare two strings: -1:< 0:= +1:>
40
int cmp(UGooString *str) const;
43
Unicode *unicode() const { return s; }
45
// get the const char*
46
char *getCString() const;
49
void initChar(GooString &str);