Team Fortress 2 Source Code as on 22/4/2020
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.

58 lines
1.8 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #if !defined( ICODEPROCESSOR_H )
  8. #define ICODEPROCESSOR_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #pragma warning( disable : 4127 )
  13. class CClass;
  14. class ICodeProcessor
  15. {
  16. public:
  17. // Process all files in a directory
  18. virtual void Process( const char *baseentityclass, const char *gamespecific, const char *sourcetreebase, const char *subdir ) = 0;
  19. // Process a single file
  20. virtual void Process( const char *baseentityclass, const char *gamespecific, const char *sourcetreebase, const char *subdir, const char *pFileName ) = 0;
  21. virtual CClass *AddClass( const char *classname ) = 0;
  22. virtual CClass *FindClass( const char *name ) const = 0;
  23. virtual void SetQuiet( bool quiet ) = 0;
  24. virtual bool GetQuiet( void ) const = 0;
  25. virtual void SetPrintHierarchy( bool print ) = 0;
  26. virtual bool GetPrintHierarchy( void ) const = 0;
  27. virtual void SetPrintMembers( bool print ) = 0;
  28. virtual bool GetPrintMembers( void ) const = 0;
  29. virtual void SetPrintTDs( bool print ) = 0;
  30. virtual bool GetPrintTDs( void ) const = 0;
  31. virtual void SetPrintPredTDs( bool print ) = 0;
  32. virtual bool GetPrintPredTDs( void ) const = 0;
  33. virtual void SetPrintCreateMissingTDs( bool print ) = 0;
  34. virtual bool GetPrintCreateMissingTDs( void ) const = 0;
  35. virtual void SetPrintCreateMissingPredTDs( bool print ) = 0;
  36. virtual bool GetPrintCreateMissingPredTDs( void ) const = 0;
  37. virtual void SetLogFile( bool log ) = 0;
  38. virtual bool GetLogFile( void ) const = 0;
  39. virtual void SetCheckHungarian( bool check ) = 0;
  40. virtual bool GetCheckHungarian() const = 0;
  41. };
  42. extern ICodeProcessor *processor;
  43. #endif // ICODEPROCESSOR_H