executionEnvironment.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // Filename: executionEnvironment.h
  2. // Created by: drose (15May00)
  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 EXECUTIONENVIRONMENT_H
  19. #define EXECUTIONENVIRONMENT_H
  20. #include "ppremake.h"
  21. #include "filename.h"
  22. ////////////////////////////////////////////////////////////////////
  23. // Class : ExecutionEnvironment
  24. // Description : This class is borrowed from dtool/src/dtoolutil, and
  25. // stripped down to just the bare minimum that Filename
  26. // needs; and also modified to build outside of Panda.
  27. ////////////////////////////////////////////////////////////////////
  28. class ExecutionEnvironment {
  29. public:
  30. static Filename get_cwd();
  31. };
  32. #endif