root / qstring.h @ 1bb62099
History | View | Annotate | Download (302 Bytes)
1 |
#ifndef QSTRING_H
|
---|---|
2 |
#define QSTRING_H
|
3 |
|
4 |
#include "qobject.h" |
5 |
|
6 |
typedef struct QString { |
7 |
QObject_HEAD; |
8 |
char *string;
|
9 |
} QString; |
10 |
|
11 |
QString *qstring_from_str(const char *str); |
12 |
const char *qstring_get_str(const QString *qstring); |
13 |
QString *qobject_to_qstring(const QObject *obj);
|
14 |
|
15 |
#endif /* QSTRING_H */ |