aboutsummaryrefslogtreecommitdiff
path: root/qstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'qstring.h')
-rw-r--r--qstring.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/qstring.h b/qstring.h
new file mode 100644
index 0000000000..e012cb7dc5
--- /dev/null
+++ b/qstring.h
@@ -0,0 +1,15 @@
+#ifndef QSTRING_H
+#define QSTRING_H
+
+#include "qobject.h"
+
+typedef struct QString {
+ QObject_HEAD;
+ char *string;
+} QString;
+
+QString *qstring_from_str(const char *str);
+const char *qstring_get_str(const QString *qstring);
+QString *qobject_to_qstring(const QObject *obj);
+
+#endif /* QSTRING_H */