interfaceMakerPython.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // Filename: interfaceMakerPython.h
  2. // Created by: drose (21Sep01)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. //
  6. // PANDA 3D SOFTWARE
  7. // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
  8. //
  9. // All use of this software is subject to the terms of the Panda 3d
  10. // Software license. You should have received a copy of this license
  11. // along with this source code; you will also find a current copy of
  12. // the license at http://www.panda3d.org/license.txt .
  13. //
  14. // To contact the maintainers of this program write to
  15. // [email protected] .
  16. //
  17. ////////////////////////////////////////////////////////////////////
  18. #ifndef INTERFACEMAKERPYTHON_H
  19. #define INTERFACEMAKERPYTHON_H
  20. #include "dtoolbase.h"
  21. #include "interfaceMaker.h"
  22. class FunctionRemap;
  23. ////////////////////////////////////////////////////////////////////
  24. // Class : InterfaceMakerPython
  25. // Description : The base class for InteraceMakerPythonSimple and
  26. // InterfaceMakerPythonObj, this includes a few
  27. // functions that both have in common for formatting
  28. // Python objects.
  29. ////////////////////////////////////////////////////////////////////
  30. class InterfaceMakerPython : public InterfaceMaker {
  31. protected:
  32. InterfaceMakerPython(InterrogateModuleDef *def);
  33. public:
  34. virtual void write_includes(ostream &out);
  35. protected:
  36. void test_assert(ostream &out, int indent_level) const;
  37. };
  38. #endif