Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.9 KiB

  1. //======= Copyright � 1996-2006, Valve Corporation, All rights reserved. ======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef VALVEMAYA_H
  7. #define VALVEMAYA_H
  8. #if defined( _WIN32 )
  9. #pragma once
  10. #endif
  11. // std includes
  12. #include <ostream>
  13. // Valve Includes
  14. #include "tier1/stringpool.h"
  15. #include "tier1/utlstring.h"
  16. #include "tier1/utlstringmap.h"
  17. #include "tier1/utlvector.h"
  18. #include "tier1/interface.h"
  19. //-----------------------------------------------------------------------------
  20. // Forward declarations
  21. //-----------------------------------------------------------------------------
  22. class IMayaVGui;
  23. //-----------------------------------------------------------------------------
  24. //
  25. // minfo, mwarn & merr are ostreams which can be used to send stuff to
  26. // the Maya history window
  27. //
  28. //-----------------------------------------------------------------------------
  29. extern std::ostream minfo;
  30. extern std::ostream mwarn;
  31. extern std::ostream merr;
  32. //-----------------------------------------------------------------------------
  33. // Maya-specific library singletons
  34. //-----------------------------------------------------------------------------
  35. extern IMayaVGui *g_pMayaVGui;
  36. //-----------------------------------------------------------------------------
  37. //
  38. // Purpose: Group a bunch of functions into the Valve Maya Namespace
  39. //
  40. //-----------------------------------------------------------------------------
  41. namespace ValveMaya
  42. {
  43. //-----------------------------------------------------------------------------
  44. // Connect, disconnect
  45. //-----------------------------------------------------------------------------
  46. bool ConnectLibraries( CreateInterfaceFn factory );
  47. void DisconnectLibraries();
  48. } // end namespace ValveMaya
  49. // Make an alias for the ValveMaya namespace
  50. namespace vm = ValveMaya;
  51. #endif // VALVEMAYA_H