fixed: compile issue
[opensg.git] / Source / System / Window / Bindings / Python / osgSetupBindings_OSGWindow.py.in
blobfe6c3685168a35a51fe3ce16cc55ea686207d5ae
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)
8 # any later version.
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
13 # more details.
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 OSGWindowLib for the integration with the OpenSG CMake system
21 # (GV)
24 from goodies import *
26 import osggen
27 import splitGenHelper
29 def preScanSetup(gen_classes, fc_infos, core_mods, free_funcs, free_func_mods, exc_types):
31 fc_infos["PassiveWindow"] = osggen.FCInfo("PassiveWindow", "Window")
35 def excludeFCDSetup(opensg_src_dir, fc_ignore_list, skip_fcds):
37 fc_ignore_list.extend(["DisplayFilterForeground"])
41 def genTemplatesSetup(template_builder, tbuilder, non_fc_template_instances):
43 return
47 def postScanSetup(osg, template_alias_db):
49 return
53 def postGenClassesSetup(osg, mb):
55 return
59 def postFCDInfoSetup(osg, mb, adddition_exp):
61 splitGenHelper.customizeWindow(osg, "PassiveWindow")
63 return