// // Copyright 2008 Perforce Software. All rights reserved. // // This file is part of Perforce - the FAST SCM System. // // StrXml: // XML output methods class #ifndef StrXml_H #define StrXml_H class StrBuf; class StrBufDict; class StrXml : public StrBuf { public: StrXml() {}; virtual ~StrXml() {}; void XMLHeader( const StrPtr *cmd, const StrPtr *args, const StrPtr *port, const StrPtr *user, const StrPtr *client, int bUnicode=0 ); void XMLOutputStat( StrDict * varList ); void XMLOutputError( char *data ); void XMLOutputText( char *data ); void XMLOutputInfo( char *data, char level ); void XMLEnd(); private: int XMLlist( StrDict * varList, int i, char * remove=NULL, char *nextup=NULL ); StrBuf& EscapeHTML( const StrPtr &s, int isUnicode=0 ); int fUnicode; StrBuf fP4Cmd; StrBuf fExtraTag; StrBuf fEscapeBuf; }; #endif // StrXml_H
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 16129 | tjuricek |
Rename/move files again... this time to the hyphenated-approach. |
||
//guest/tjuricek/file_system_client/main/vendor/p4api-15.1/macosx105x86_64/include/p4/strxml.h | |||||
#1 | 16119 | tjuricek | Rename/move to meet workshop project conventions. | ||
//guest/tjuricek/fsclient/vendor/p4api-15.1/macosx105x86_64/include/p4/strxml.h | |||||
#1 | 16118 | tjuricek |
FSClient initial version: handles add, edit This is a proof-of-concept app that mirrors an existing Perforce workspace to handle running commands like "p4 add" and "p4 edit" automatically when your apps add and write files. See the readme for more information. |