pathnt.h #1

  • //
  • guest/
  • perforce_software/
  • p4/
  • 2014-1/
  • sys/
  • pathnt.h
  • View
  • Commits
  • Open Download .zip Download (690 B)
/*
 * Copyright 1995, 1996 Perforce Software.  All rights reserved.
 *
 * This file is part of Perforce - the FAST SCM System.
 */

/*
 * PathNT.h - filenames on NT
 *
 * Public classes:
 *
 *	PathNT - a StrPtr for a NT path
 *
 * Public methods:
 */

class PathNT : public PathSys {

    public:
	PathNT();
	void	SetCanon( const StrPtr &root, const StrPtr &canon );
	void	SetLocal( const StrPtr &root, const StrPtr &local );
	int	GetCanon( const StrPtr &root, StrBuf &target );
	int	ToParent( StrBuf *file = 0 );
	void	SetCharSet( int = 0 );
	int	IsUnderRoot( const StrPtr &root );

    private:
	int	EndsWithSlash() const;
	int	IsUnder( StrRef *, const char * ) const;

	int	charset;
} ;
# 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/sys/pathnt.h
#1 15901 Matt Attaway Clean up code to fit modern Workshop naming standards
//guest/perforce_software/p4/2014.1/sys/pathnt.h
#1 12188 Matt Attaway Move 'main' p4 into a release specific directory in prep for new releases
//guest/perforce_software/p4/sys/pathnt.h
#1 9129 Matt Attaway Initial commit of the 2014.1 p4/p4api source code