Merge remote branch 'mine/ext-python'
[vuplus_xbmc] / xbmc / interfaces / python / xbmcmodule / dialog.h
1 /*
2  *      Copyright (C) 2005-2008 Team XBMC
3  *      http://www.xbmc.org
4  *
5  *  This Program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2, or (at your option)
8  *  any later version.
9  *
10  *  This Program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with XBMC; see the file COPYING.  If not, write to
17  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
18  *  http://www.gnu.org/copyleft/gpl.html
19  *
20  */
21
22 #include <Python.h>
23
24 #include "window.h"
25 #pragma once
26
27
28 class CGUIDialogProgress;
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33
34 namespace PYXBMC
35 {
36   typedef struct {
37     PyObject_HEAD
38   } Dialog;
39
40   typedef struct {
41     PyObject_HEAD_XBMC_WINDOW
42   } WindowDialog;
43
44   typedef struct {
45     PyObject_HEAD
46     CGUIDialogProgress* dlg;
47   } DialogProgress;
48
49   extern PyTypeObject WindowDialog_Type;
50   extern PyTypeObject DialogProgress_Type;
51   extern PyTypeObject Dialog_Type;
52
53   void initWindowDialog_Type();
54   void initDialogProgress_Type();
55   void initDialog_Type();
56 }
57
58 #ifdef __cplusplus
59 }
60 #endif