- /*
- * Copyright 1995, 1996 Perforce Software. All rights reserved.
- *
- * This file is part of Perforce - the FAST SCM System.
- */
- /*
- * Hostenv.h - describe user's environment
- *
- * Fills result and returns for cwd/host/user. Returns 0 if not found.
- *
- * Public methods:
- *
- * HostEnv::GetCwd() - return the processes current working directory
- * HostEnv::GetHost() - return the host name
- * HostEnv::GetUser() - return the invoking user name
- * HostEnv::GetTicketFile() - return the user ticket file location
- * HostEnv::GetUid() - return the user id #, platform specific
- */
- class Enviro;
- class HostEnv {
- public:
- int GetCwd( StrBuf &result, Enviro * = 0 );
- int GetHost( StrBuf &result );
- int GetUser( StrBuf &result, Enviro * = 0 );
- int GetTicketFile( StrBuf &result, Enviro * = 0 );
- int GetUid( int &result );
- } ;
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 7893 | Johan Nilsson | OFFLINE CHANGELIST 10 - SUBMITTED ON 2011/03/23 11:18:27 Upgrade project files to VS2010... and switching to msbuild for the entire project. Retargeted everything to .NET4 Client Profile for the time being, due to VS2010 C++ limitations (can't target anything other than 4.0 without complicating the setup too much). Shouldn't be too hard to retarget later if push comes to shove. Added VS2010 P4API stuff directly inside this project also to make things easier to get up and running for the moment. Removed old static P4API libraries. ____________________________________________________________ OFFLINE CHANGELIST 9 - SUBMITTED ON 2011/03/22 07:35:31 Converted to VS2010 « |
14 years ago |