gHtmlCtrl.cpp

Go to the documentation of this file.
00001 #include "gHtmlCtrl.h"
00002 
00003 // Static members
00004 gHtmlCtrl gHtmlCtrl::myself;
00005 gHtmlParser* gHtmlCtrl::parserPtr=nil;
00006 ////////////////////////////////////////////////////////////
00007 gHtmlCtrl::gHtmlCtrl ()
00008 {
00009 }
00010 
00011 gHtmlCtrl::~gHtmlCtrl ()
00012 {
00013 }
00014 
00015 int gHtmlCtrl::Init ()
00016 {
00017  if ( parserPtr!=nil ) return 0;
00018  parserPtr = new gHtmlParser( nil );
00019  ASSERTION(parserPtr!=nil,"parserPtr!=nil");
00020  gStorageControl::Self().StaticAlloc( "hLog", 1 );
00021  return 0;
00022 }
00023 
00024 void gHtmlCtrl::ReleaseHash ()
00025 {
00026  if ( parserPtr==nil ) return;
00027  parserPtr->ReleaseHash();
00028  delete parserPtr;
00029  parserPtr = nil;
00030 }
00031 ////////////////////////////////////////////////////////////
00032 

Generated on Sat Aug 18 02:40:54 2007 for xpfweb_v2x lib by  doxygen 1.4.2