X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd107c50be43e8d4dbdba20df162faf119a3781c..2ada746fb47bf68c9f2dab6399a6cd5510320984:/utils/HelpGen/src/cjparser.h diff --git a/utils/HelpGen/src/cjparser.h b/utils/HelpGen/src/cjparser.h index 98663b84d1..d8b8670c74 100644 --- a/utils/HelpGen/src/cjparser.h +++ b/utils/HelpGen/src/cjparser.h @@ -15,11 +15,16 @@ #include "srcparser.h" -#include #include #include #include +#if wxUSE_IOSTREAMH + #include +#else + #include +#endif + // class parses given "memory-resident" Java or C++ source code // and captures information about classes/attrubutes/methods/ // arguments/etc into structures. Conforms with SourceParserBase @@ -39,7 +44,7 @@ protected: int mCurVis; // current parsing position int full-text area - char* cur; + char* m_cur; // about the current class bool mIsVirtual; @@ -70,7 +75,7 @@ protected: void AddEnumNode( char*& cur ); void AddTypeDefNode( char*& cur ); - void DumpOperationInfo( spOperation& info, const string& tab, wxSTD ostream& os ); + void DumpOperationInfo( spOperation& info, const wxString& tab, wxSTD ostream& os ); void DumpClassHeader( spClass& info, wxSTD ostream& os ); void DumpClassBody( spClass& info, wxSTD ostream& os ); @@ -109,17 +114,17 @@ static inline void skip_tempalate_statement( char*& cur ); static inline void skip_statement( char*& cur ); static inline void skip_token_back( char*& cur ); static inline void skip_next_token_back( char*& cur ); -static string get_token_str( char* cur ); +static wxString get_token_str( char* cur ); static size_t skip_block( char*& cur ); static inline bool skip_imp_block( char*& cur ); static bool is_class_token( char*& cur ); inline static bool is_forward_decl( char* cur ); inline static bool is_function( char* cur, bool& isAMacro ); static inline void skip_scope_block( char*& cur ); -static void arrange_indirection_tokens_between( string& type, string& identifier ); +static void arrange_indirection_tokens_between( wxString& type, wxString& identifier ); static bool is_keyword( char* cur ); -static inline void get_string_between( char* start, char* end, string* pStr ); -static char* set_comment_text( string& text, char* start ); +static inline void get_string_between( char* start, char* end, wxString* pStr ); +static char* set_comment_text( wxString& text, char* start ); */ #endif