You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdenetwork/ksirc/puke/pmessage.h

39 lines
633 B

#ifndef PUKE_MESSAGE_H
#define PUKE_MESSAGE_H
typedef struct {
unsigned int iHeader; // Filled in durring in PukeController, do not set
int iCommand;
int iWinId;
int iArg;
int iTextSize; // Size of the text message that follows
char *cArg;
} PukeMessage;
typedef struct {
int fd;
int iWinId;
} widgetId;
const uint iPukeHeader = 42U;
#if 0
class errorInvalidSet {
public:
errorInvalidSet(TQObject *_from, const char *_to)
: __from(_from), __to(_to)
{
}
TQObject *from() { return __from; }
const char *to() { return __to; }
private:
TQObject *__from;
const char *__to;
};
#endif
#endif