diff options
Diffstat (limited to 'src/objects/dcc-chat-object.h')
| -rw-r--r-- | src/objects/dcc-chat-object.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/objects/dcc-chat-object.h b/src/objects/dcc-chat-object.h new file mode 100644 index 0000000..955e6be --- /dev/null +++ b/src/objects/dcc-chat-object.h @@ -0,0 +1,21 @@ +#ifndef _DCC_CHAT_OBJECT_H_ +#define _DCC_CHAT_OBJECT_H_ + +#include <Python.h> +#include "dcc-object.h" + +/* forward */ +struct CHAT_DCC_REC; + +typedef struct +{ + PyDcc_HEAD(struct CHAT_DCC_REC) +} PyDccChat; + +extern PyTypeObject PyDccChatType; + +PyObject *pydcc_chat_new(void *dcc); +#define pydcc_chat_check(op) PyObject_TypeCheck(op, &PyDccChatType) +int dcc_chat_object_init(void); + +#endif |
