1 # PyOpenSG is (C) Copyright 2005-2009 by Allen Bierbaum
3 # This file is part of PyOpenSG.
5 # PyOpenSG is free software; you can redistribute it and/or modify it under
6 # the terms of the GNU Lesser General Public License as published by the Free
7 # Software Foundation; either version 2 of the License, or (at your option)
10 # PyOpenSG is distributed in the hope that it will be useful, but WITHOUT ANY
11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
15 # You should have received a copy of the GNU Lesser General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # This script is derived from gen_bindings.py, it contains all class specific
20 # tasks for the OSGWindowXLib for the integration with the OpenSG CMake system
28 def preScanSetup(gen_classes
, fc_infos
, core_mods
, free_funcs
, free_func_mods
, exc_types
):
33 def excludeFCDSetup(opensg_src_dir
, fc_ignore_list
, skip_fcds
):
38 def genTemplatesSetup(template_builder
, tbuilder
, non_fc_template_instances
):
44 def postScanSetup(osg
, template_alias_db
):
50 def postGenClassesSetup(osg
, mb
):
56 def postFCDInfoSetup(osg
, mb
, adddition_exp
):
58 cls
= osg
["XWindowBase"]
59 cls
["getDisplay"].exclude()
60 cls
["getSFDisplay"].exclude()
61 cls
["setDisplay"].exclude()
63 cls
["getContext"].exclude()
64 cls
["getSFContext"].exclude()
65 cls
["setContext"].exclude()