blob: fbbdac032772e6b880ce8b3480fc4412f3879981 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef _MAIN_WINDOW_OBJECT_H_
#define _MAIN_WINDOW_OBJECT_H_
#include <Python.h>
#include "base-objects.h"
#include "pyirssi.h"
typedef struct
{
PyIrssiFinal_HEAD(void)
PyObject *active;
} PyMainWindow;
extern PyTypeObject PyMainWindowType;
int main_window_object_init(void);
PyObject *pymain_window_new(MAIN_WINDOW_REC *mw);
#define pymain_window_check(op) PyObject_TypeCheck(op, &PyMainWindowType)
#endif
|