/** SGX

The   sss    gggg x   x   
     s      g      x x    Engine
      sss   g  gg   x
         s  g   g  x x          Copyright 1995-2009.
     ssss    gggg x   x         Steven Goodwin. All Rights Reserved.
    
This version has been released under the GNU Public License v2.0.

Please see the license files for details.

File: sgx/src/sgx/core/helpers/globaltrace.cpp

*/

#include "sgx/core/types/types.hpp"
#include "sgx/core/helpers/trace.hpp"

CGlobalTrace *CGlobalTrace::ms_pSingleton = NULL;

CGlobalTrace *
CGlobalTrace::get()
{
    if (ms_pSingleton == NULL) {
        ms_pSingleton = new CGlobalTrace;
    }
    return ms_pSingleton;            
}

