summaryrefslogtreecommitdiff
path: root/qmake/include/private/qucom_p.h
Side-by-side diff
Diffstat (limited to 'qmake/include/private/qucom_p.h') (more/less context) (ignore whitespace changes)
-rw-r--r--qmake/include/private/qucom_p.h76
1 files changed, 20 insertions, 56 deletions
diff --git a/qmake/include/private/qucom_p.h b/qmake/include/private/qucom_p.h
index d2ff48e..6b6ad40 100644
--- a/qmake/include/private/qucom_p.h
+++ b/qmake/include/private/qucom_p.h
@@ -37,9 +37,4 @@
-#ifndef QUCOM_H
-#define QUCOM_H
-
-#ifndef QT_H
-#include <qstring.h>
-#include "quuid.h"
-#endif // QT_H
+#ifndef QUCOM_P_H
+#define QUCOM_P_H
@@ -57,2 +52,7 @@
+#ifndef QT_H
+#include <qstring.h>
+#include "quuid.h"
+#endif // QT_H
+
#ifdef check
@@ -131,3 +131,3 @@ public: // scary MSVC bug makes this necessary
bool b;
-
+
char c;
@@ -136,3 +136,3 @@ public: // scary MSVC bug makes this necessary
long l;
-
+
unsigned char uc;
@@ -141,8 +141,8 @@ public: // scary MSVC bug makes this necessary
unsigned long ul;
-
+
float f;
double d;
-
+
char byte[16];
-
+
struct {
@@ -151,5 +151,5 @@ public: // scary MSVC bug makes this necessary
} bytearray;
-
+
void* ptr;
-
+
struct {
@@ -158,3 +158,3 @@ public: // scary MSVC bug makes this necessary
} voidstar;
-
+
struct {
@@ -168,3 +168,3 @@ public: // scary MSVC bug makes this necessary
} utf8;
-
+
struct {
@@ -173,6 +173,6 @@ public: // scary MSVC bug makes this necessary
} local8bit;
-
+
QUnknownInterface* iface;
QDispatchInterface* idisp;
-
+
} payload;
@@ -265,3 +265,3 @@ struct Q_EXPORT QUEnumItem // - a name/value pair
struct Q_EXPORT QUEnum
-{
+{
const char *name; // - enumerator name
@@ -398,20 +398,2 @@ extern Q_EXPORT QUType_int static_QUType_int;
-// {5938712A-C496-11D5-8CB2-00C0F03BC0F3}
-extern Q_EXPORT const QUuid TID_QUType_uint;
-struct Q_EXPORT QUType_uint : public QUType
-{
- const QUuid *uuid() const;
- const char *desc() const;
-
- void set( QUObject *, uint );
- uint &get( QUObject *o ) { return o->payload.ui; }
- bool canConvertFrom( QUObject *, QUType * );
- bool canConvertTo( QUObject *, QUType * );
- bool convertFrom( QUObject *, QUType * );
- bool convertTo( QUObject *, QUType * );
- void clear( QUObject * ) {}
- int serializeTo( QUObject *, QUBuffer * );
- int serializeFrom( QUObject *, QUBuffer * );
-};
-extern Q_EXPORT QUType_uint static_QUType_uint;
@@ -436,20 +418,2 @@ extern Q_EXPORT QUType_double static_QUType_double;
-// {544C5175-6993-4486-B04D-CEC4D21BF4B9 }
-extern Q_EXPORT const QUuid TID_QUType_float;
-struct Q_EXPORT QUType_float : public QUType
-{
- const QUuid *uuid() const;
- const char *desc() const;
-
- void set( QUObject *, float );
- float &get( QUObject *o ) { return o->payload.f; }
- bool canConvertFrom( QUObject *, QUType * );
- bool canConvertTo( QUObject *, QUType * );
- bool convertFrom( QUObject *, QUType * );
- bool convertTo( QUObject *, QUType * );
- void clear( QUObject * ) {}
- int serializeTo( QUObject *, QUBuffer * );
- int serializeFrom( QUObject *, QUBuffer * );
-};
-extern Q_EXPORT QUType_float static_QUType_float;
@@ -498,2 +462,2 @@ extern Q_EXPORT QUType_QString static_QUType_QString;
-#endif // QUCOM_H
+#endif // QUCOM_P_H