From: <sv...@ww...> - 2004-12-06 09:02:58
|
Author: mkrose Date: 2004-12-06 01:02:51 -0800 (Mon, 06 Dec 2004) New Revision: 1354 Modified: trunk/CSP/SimData/CHANGES.current trunk/CSP/SimData/Include/SimData/DataArchive.h Log: Remove deprecated "default" data archive feature. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=1354 Modified: trunk/CSP/SimData/CHANGES.current =================================================================== --- trunk/CSP/SimData/CHANGES.current 2004-12-06 08:58:10 UTC (rev 1353) +++ trunk/CSP/SimData/CHANGES.current 2004-12-06 09:02:51 UTC (rev 1354) @@ -3,6 +3,7 @@ 2004-12-05: onsight * Fix a couple minor warnings under msvc. + * Removed deprecated "default" data archive feature. 2004-12-03: delta * Updated SimData project files adding a simple project to build Modified: trunk/CSP/SimData/Include/SimData/DataArchive.h =================================================================== --- trunk/CSP/SimData/Include/SimData/DataArchive.h 2004-12-06 08:58:10 UTC (rev 1353) +++ trunk/CSP/SimData/Include/SimData/DataArchive.h 2004-12-06 09:02:51 UTC (rev 1354) @@ -110,20 +110,6 @@ uint32 length; }; - /** Global default archive. - * - * This provides an optional means to share a data archive - * globally in an application. In principle this is not a - * very safe thing to do, but is provided for the convenience - * of hanging yourself. You've been warned. - * - * Use getDefault() and setDefault() to access this variable - * (which may be null). - * - * @deprecated No longer necessary; do not use! - */ - static DataArchive* defaultArchive; - enum { /// number of entries to allocate when growing the entry table AS = 1024, @@ -255,25 +241,6 @@ */ bool isWrite(); - /** Make this archive the "default" archive. - * - * It will remain so until another archive is assigned or it - * is deleted (in which case the dafault reverts to NULL). - * - * @deprecated <em>Use of this default utility is not - * recommended.</em> - */ - void setDefault(); - - /** Get the current default archive. - * - * @returns the current default or NULL if there is none. - * - * @deprecated <em>Use of this default utility is not - * recommended.</em> - */ - static DataArchive* getDefault(); - /** Create a new object from a path identifier string. * * @param path_str The path identifier string. |