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.

41 lines
1.2 KiB

  1. //====== Copyright � 1996-2005, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef PROJECTGENERATOR_XBOX360_H
  7. #define PROJECTGENERATOR_XBOX360_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #define PROPERTYNAME( X, Y ) X##_##Y,
  12. enum Xbox360Properties_e
  13. {
  14. #include "projectgenerator_xbox360.inc"
  15. };
  16. class CProjectGenerator_Xbox360 : public IVCProjWriter
  17. {
  18. public:
  19. CProjectGenerator_Xbox360();
  20. IBaseProjectGenerator *GetProjectGenerator() { return m_pVCProjGenerator; }
  21. virtual bool Save( const char *pOutputFilename );
  22. private:
  23. bool WriteToXML();
  24. bool WriteFolder( CProjectFolder *pFolder );
  25. bool WriteFile( CProjectFile *pFile );
  26. bool WriteConfiguration( CProjectConfiguration *pConfig );
  27. bool WriteProperty( const PropertyState_t *pPropertyState, const char *pOutputName = NULL, const char *pValue = NULL );
  28. bool WriteTool( const char *pToolName, const CProjectTool *pProjectTool );
  29. bool WriteNULLTool( const char *pToolName, const CProjectConfiguration *pConfig );
  30. CXMLWriter m_XMLWriter;
  31. CVCProjGenerator *m_pVCProjGenerator;
  32. };
  33. #endif // PROJECTGENERATOR_XBOX360_H