/*
* Copyright 2001 Perforce Software. All rights reserved.
*
* This file is part of Perforce - the FAST SCM System.
*/
class TransDictQues : public StrBufDict {
StrDict *other;
CharSetCvt *fromOther;
public:
TransDictQues( StrDict *o, CharSetCvt *f )
: other(o), fromOther(f) {}
~TransDictQues();
private:
StrPtr *VGetVar( const StrPtr &var );
};
class TransDict : public StrBufDict {
StrDict *other;
CharSetCvt *fromOther, *toOther;
public:
TransDict(StrDict *o, CharSetCvt *f);
~TransDict();
TransDictQues *CreateErrorOutputDict()
{ return new TransDictQues( other, fromOther ); }
CharSetCvt *FromCvt() { return fromOther; }
CharSetCvt *ToCvt() { return toOther; }
private:
StrPtr *VGetVar( const StrPtr &var );
void VSetVar( const StrPtr &var, const StrPtr &val );
int VGetVarX( int, StrRef &, StrRef & );
void VSetError( const StrPtr &, Error * );
int transerr;
StrBuf notransbuf;
};
# |
Change |
User |
Description |
Committed |
|
#1
|
19992 |
devkix |
"Forking branch 2016-1 of perforce_software-p4 to devkix-p4." |
|
|
//guest/perforce_software/p4/2016-1/i18n/transdict.h |
#1
|
19472 |
Liz Lam |
Initial add of the 2016.1 p4/p4api source code. |
|
|