/* * Copyright 1995, 2003 Perforce Software. All rights reserved. * * This file is part of Perforce - the FAST SCM System. */ enum P4DebugType { DT_DB, // DbOpen DT_DBMAP, // Db map handling DT_DIFF, // Diff DT_DM, // Dm DT_FTP, // Ftp Server DT_HANDLE, // Handles DT_LBR, // Lbr DT_MAP, // MapTable DT_NET, // Net DT_OPTIONS, // Optional behavior DT_PROC, // External process creation DT_RCS, // RCS DT_RECORDS, // VarRecords DT_RPC, // Rpc DT_SERVER, // Server DT_SPEC, // Spec DT_LAST } ; class P4Debug { public: P4Debug(); void SetLevel( int l ); void SetLevel( char *set ); void SetLevel( P4DebugType t, int l ) { level[t] = l ;} int GetLevel( P4DebugType t ) const { return level[t]; } private: void Unbuffer(); int level[DT_LAST]; } ; extern P4Debug p4debug;
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 6050 | Robert Cowham |
- Use P4API 2007.2 - Added SetProg, SetVersion, SetProtocol and GetProtocol |
||
#2 | 4242 | Robert Cowham |
Fixed some String leaks. Fixed problem with writing to temporary files. Updated p4API to released version of 2003.2. Start of Delphi example. |
||
#1 | 3534 | Robert Cowham | Added complete test projects for VB6, VB.NET and C#(.NET) |