qdev: add string property.
[qemu/mdroth.git] / qstring.h
blobe012cb7dc5737422e09fd77e72d3a6587cfe7c5f
1 #ifndef QSTRING_H
2 #define QSTRING_H
4 #include "qobject.h"
6 typedef struct QString {
7 QObject_HEAD;
8 char *string;
9 } QString;
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);
15 #endif /* QSTRING_H */