コード例 #1
0
ファイル: language.cpp プロジェクト: sd-eblana/bawx
  void initLanguage_Type()
  {
    PyInitializeTypeObject(&Language_Type);

    Language_Type.tp_name = (char*)"xbmc.Language";
    Language_Type.tp_basicsize = sizeof(Language);
    Language_Type.tp_dealloc = (destructor)Language_Dealloc;
    Language_Type.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE;
    Language_Type.tp_doc = language__doc__;
    Language_Type.tp_methods = Language_methods;
    Language_Type.tp_base = 0;
    Language_Type.tp_new = Language_New;
  }
コード例 #2
0
  void initWindowXMLDialog_Type()
  {
    PyInitializeTypeObject(&WindowXMLDialog_Type);

    WindowXMLDialog_Type.tp_name = (char*)"xbmcgui.WindowXMLDialog";
    WindowXMLDialog_Type.tp_basicsize = sizeof(WindowXMLDialog);
    WindowXMLDialog_Type.tp_dealloc = (destructor)Window_Dealloc;
    WindowXMLDialog_Type.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE;
    WindowXMLDialog_Type.tp_doc = windowXMLDialog__doc__;
    WindowXMLDialog_Type.tp_methods = windowXMLDialog_methods;
    WindowXMLDialog_Type.tp_base = &WindowXML_Type;
    WindowXMLDialog_Type.tp_new = WindowXMLDialog_New;
  }
コード例 #3
0
ファイル: keyboard.cpp プロジェクト: flyingtime/boxee
  void initKeyboard_Type()
  {
    PyInitializeTypeObject(&Keyboard_Type);

    Keyboard_Type.tp_name = (char*)"xbmc.Keyboard";
    Keyboard_Type.tp_basicsize = sizeof(Keyboard);
    Keyboard_Type.tp_dealloc = (destructor)Keyboard_Dealloc;
    Keyboard_Type.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE;
    Keyboard_Type.tp_doc = keyboard__doc__;
    Keyboard_Type.tp_methods = Keyboard_methods;
    Keyboard_Type.tp_base = 0;
    Keyboard_Type.tp_new = Keyboard_New;
  }
コード例 #4
0
ファイル: infotagvideo.cpp プロジェクト: Avoidnf8/xbmc-fork
  void initInfoTagVideo_Type()
  {
    PyInitializeTypeObject(&InfoTagVideo_Type);

    InfoTagVideo_Type.tp_name = "xbmc.InfoTagVideo";
    InfoTagVideo_Type.tp_basicsize = sizeof(InfoTagVideo);
    InfoTagVideo_Type.tp_dealloc = (destructor)InfoTagVideo_Dealloc;
    InfoTagVideo_Type.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE;
    InfoTagVideo_Type.tp_doc = videoInfoTag__doc__;
    InfoTagVideo_Type.tp_methods = InfoTagVideo_methods;
    InfoTagVideo_Type.tp_base = 0;
    InfoTagVideo_Type.tp_new = 0;
  }
コード例 #5
0
ファイル: pyplaylist.cpp プロジェクト: flyingtime/boxee
  void initPlayListItem_Type()
  {
    PyInitializeTypeObject(&PlayListItem_Type);

    PlayListItem_Type.tp_name = (char*)"xbmc.PlayListItem";
    PlayListItem_Type.tp_basicsize = sizeof(PlayListItem);
    PlayListItem_Type.tp_dealloc = (destructor)PlayListItem_Dealloc;
    PlayListItem_Type.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE;
    PlayListItem_Type.tp_doc = playlistItem__doc__;
    PlayListItem_Type.tp_methods = PlayListItem_methods;
    PlayListItem_Type.tp_base = 0;
    PlayListItem_Type.tp_new = PlayListItem_New;
  }
コード例 #6
0
ファイル: controlfadelabel.cpp プロジェクト: flyingtime/boxee
  void initControlFadeLabel_Type()
  {
    PyInitializeTypeObject(&ControlFadeLabel_Type);

    ControlFadeLabel_Type.tp_name = (char*)"xbmcgui.ControlFadeLabel";
    ControlFadeLabel_Type.tp_basicsize = sizeof(ControlFadeLabel);
    ControlFadeLabel_Type.tp_dealloc = (destructor)ControlFadeLabel_Dealloc;
    ControlFadeLabel_Type.tp_compare = 0;
    ControlFadeLabel_Type.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE;
    ControlFadeLabel_Type.tp_doc = controlFadeLabel__doc__;
    ControlFadeLabel_Type.tp_methods = ControlFadeLabel_methods;
    ControlFadeLabel_Type.tp_base = &Control_Type;
    ControlFadeLabel_Type.tp_new = ControlFadeLabel_New;
  }
コード例 #7
0
  void initControlRadioButton_Type()
  {
    PyInitializeTypeObject(&ControlRadioButton_Type);

    ControlRadioButton_Type.tp_name = "xbmcgui.ControlRadioButton";
    ControlRadioButton_Type.tp_basicsize = sizeof(ControlRadioButton);
    ControlRadioButton_Type.tp_dealloc = (destructor)ControlRadioButton_Dealloc;
    ControlRadioButton_Type.tp_compare = 0;
    ControlRadioButton_Type.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE;
    ControlRadioButton_Type.tp_doc = ControlRadioButton__doc__;
    ControlRadioButton_Type.tp_methods = ControlRadioButton_methods;
    ControlRadioButton_Type.tp_base = &Control_Type;
    ControlRadioButton_Type.tp_new = ControlRadioButton_New;
  }
コード例 #8
0
ファイル: control.cpp プロジェクト: Castlecard/plex
  void initControl_Type()
  {
    PyInitializeTypeObject(&Control_Type);

    Control_Type.tp_name = "xbmcgui.Control";
    Control_Type.tp_basicsize = sizeof(Control);
    Control_Type.tp_dealloc = 0;
    Control_Type.tp_compare = Control_Compare;
    Control_Type.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE;
    Control_Type.tp_doc = control__doc__;
    Control_Type.tp_methods = Control_methods;
    Control_Type.tp_base = 0;
    Control_Type.tp_new = 0;
  }
コード例 #9
0
ファイル: action.cpp プロジェクト: flyingtime/boxee
  void initAction_Type()
  {
    PyInitializeTypeObject(&Action_Type);

    Action_Type.tp_name = (char*)"xbmcgui.Action";
    Action_Type.tp_basicsize = sizeof(Action);
    Action_Type.tp_dealloc = (destructor)Action_Dealloc;
    //Action_Type.tp_compare = Action_Compare;
    Action_Type.tp_richcompare = (richcmpfunc)Action_RichCompare;
    Action_Type.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE;
    Action_Type.tp_doc = action__doc__;
    Action_Type.tp_methods = Action_methods;
    Action_Type.tp_base = 0;
    Action_Type.tp_new = Action_New;
  }