CrystalSpace

Public API Reference

csutil/debug.h

Go to the documentation of this file.
00001 /*
00002     Copyright (C) 2001 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 #ifdef CS_COMPILER_GCC
00020   #warning Debugging graph has been discontinued. Please remove \
00021 csutil/debug.h inclusions.
00022 #endif
00023 #ifdef CS_COMPILER_MSVC
00024   #pragma message ("Debugging graph has been discontinued. Please remove \
00025 csutil/debug.h inclusions.")
00026 #endif
00027 
00028 #ifndef __CS_UTIL_DEBUG_H__
00029 #define __CS_UTIL_DEBUG_H__
00030 
00034 #include "csextern.h"
00035 
00036 struct iBase;
00037 struct iObjectRegistry;
00038 
00039 namespace CS
00040 {
00041   namespace Macros
00042   {
00043     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_ADD () {}
00044     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_ADDI () {}
00045     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_TYPE () {}
00046     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_DESCRIBE0 () {}
00047     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_DESCRIBE1 () {}
00048     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_DESCRIBE2 () {}
00049     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_REM () {}
00050     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_ADDCHILD () {}
00051     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_ADDPARENT () {}
00052     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_REMCHILD () {}
00053     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_REMPARENT () {}
00054     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_LINK () {}
00055     CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") inline void DG_UNLINK () {}
00056   } // namespace Macros
00057 } // namespace CS
00058 
00062 #define DG_ADD(a,b) CS::Macros::DG_ADD ()
00063 
00066 #define DG_ADDI(a,b) CS::Macros::DG_ADDI ()
00067 
00070 #define DG_TYPE(a,b) CS::Macros::DG_TYPE ()
00071 
00074 #define DG_DESCRIBE0(a,b) CS::Macros::DG_DESCRIBE0 ()
00075 
00078 #define DG_DESCRIBE1(a,b,c) CS::Macros::DG_DESCRIBE1 ()
00079 
00082 #define DG_DESCRIBE2(a,b,c,d) CS::Macros::DG_DESCRIBE2 ()
00083 
00086 #define DG_REM(a) CS::Macros::DG_REM ()
00087 
00090 #define DG_ADDCHILD(a,b) CS::Macros::DG_ADDCHILD ()
00091 
00094 #define DG_ADDPARENT(a,b) CS::Macros::DG_ADDPARENT ()
00095 
00098 #define DG_REMCHILD(a,b) CS::Macros::DG_REMCHILD ()
00099 
00102 #define DG_REMPARENT(a,b) CS::Macros::DG_REMPARENT ()
00103 
00106 #define DG_LINK(a,b) CS::Macros::DG_LINK ()
00107 
00110 #define DG_UNLINK(a,b) CS::Macros::DG_UNLINK ()
00111 
00115 class CS_DEPRECATED_TYPE_MSG("Discontinued cruft") csDebuggingGraph
00116 {
00117 public:
00118   CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") 
00119   static void SetupGraph (iObjectRegistry*) {}
00120   CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") 
00121   static void AddObject (iObjectRegistry*, void*, bool, char*, int, 
00122         char*, ...) {}
00123   CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") 
00124   static void AttachDescription (iObjectRegistry*, void*t, char*, ...) 
00125         CS_GNUC_PRINTF (3, 4) {}
00126   CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") 
00127   static void AttachType (iObjectRegistry*, void*, char*) {}
00128   CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") 
00129   static void RemoveObject (iObjectRegistry*, void*, char*, int) {}
00130   CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") 
00131   static void AddChild (iObjectRegistry*, void*, void*) {}
00132   CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") 
00133   static void AddParent (iObjectRegistry*, void*, void*) {}
00134   CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") 
00135   static void RemoveChild (iObjectRegistry*, void*, void*) {}
00136   CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") 
00137   static void RemoveParent (iObjectRegistry*, void*, void*) {}
00138   CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") 
00139   static void Clear (iObjectRegistry*) {}
00140   CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") 
00141   static void Dump (iObjectRegistry*) {}
00142   CS_DEPRECATED_METHOD_MSG ("Discontinued cruft") 
00143   static void Dump (iObjectRegistry*, void*, bool reset_mark = true) {}
00144 };
00145 
00146 #endif //__CS_UTIL_DEBUG_H__
00147 

Generated for Crystal Space 1.2.1 by doxygen 1.5.3