transdict.h #1

  • //
  • guest/
  • perforce_software/
  • p4/
  • 2014-1/
  • i18n/
  • transdict.h
  • View
  • Commits
  • Open Download .zip Download (926 B)
/*
 * 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 15902 Matt Attaway A second renaming that I will not obliterate as a badge of shame
//guest/perforce_software/p4/2014_1/i18n/transdict.h
#1 15901 Matt Attaway Clean up code to fit modern Workshop naming standards
//guest/perforce_software/p4/2014.1/i18n/transdict.h
#1 12188 Matt Attaway Move 'main' p4 into a release specific directory in prep for new releases
//guest/perforce_software/p4/i18n/transdict.h
#1 9129 Matt Attaway Initial commit of the 2014.1 p4/p4api source code