iutil/dbghelp.h
Go to the documentation of this file.
00001 /* 00002 Copyright (C) 2002 by Jorrit Tyberghein 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Library General Public 00006 License as published by the Free Software Foundation; either 00007 version 2 of the License, or (at your option) any later version. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public 00015 License along with this library; if not, write to the Free 00016 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 */ 00018 00019 #ifndef __CS_IUTIL_DBGHELP_H__ 00020 #define __CS_IUTIL_DBGHELP_H__ 00021 00027 #include "csutil/scf_interface.h" 00028 #include "csutil/ref.h" 00029 #include "iutil/string.h" 00030 00031 struct iGraphics3D; 00032 00035 enum 00036 { 00038 CS_DBGHELP_BENCHMARK = 0x1, 00040 CS_DBGHELP_TXTDUMP = 0x2, 00042 CS_DBGHELP_GFXDUMP = 0x4, 00044 CS_DBGHELP_STATETEST = 0x8 00045 }; 00052 struct iDebugHelper : public virtual iBase 00053 { 00054 SCF_INTERFACE(iDebugHelper,3,0,0); 00064 virtual int GetSupportedTests () const = 0; 00065 00072 virtual csPtr<iString> StateTest () = 0; 00073 00078 virtual csTicks Benchmark (int num_iterations) = 0; 00079 00084 virtual csPtr<iString> Dump () = 0; 00085 00089 virtual void Dump (iGraphics3D* g3d) = 0; 00090 00095 virtual bool DebugCommand (const char* cmd) = 0; 00096 }; 00099 #endif // __CS_IUTIL_DBGHELP_H__ 00100
Generated for Crystal Space 1.4.1 by doxygen 1.7.1