home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 March / Gamestar_82_2006-03_dvd.iso / DVDStar / Editace / quake4_sdkv10.exe / source / idlib / LexerFactory.h < prev    next >
C/C++ Source or Header  |  2005-11-14  |  470b  |  22 lines

  1. #ifndef __LEXERFACTORY_H__
  2. #define __LEXERFACTORY_H__
  3.  
  4. class LexerFactory
  5. {
  6. public:
  7.  
  8.     static Lexer *MakeLexer( int flags );
  9.     static Lexer *MakeLexer( char const * const filename, int flags = 0, bool OSPath = false );
  10.     static Lexer *MakeLexer( char const * const ptr, int length, char const * const name, int flags = 0 );
  11.  
  12. private:
  13.     static int GetReadBinary();
  14.     static int GetWriteBinary();
  15.  
  16.     // disallow default constructor
  17.     LexerFactory();
  18.     ~LexerFactory();
  19. };
  20.  
  21. #endif
  22.