#include "DDebug.h" namespace ccdb { DDebug* DDebug::ms_instance = 0; DDebug::DDebug() { } DDebug::~DDebug() { } DDebug* DDebug::Instance() { if(ms_instance == 0){ ms_instance = new DDebug(); } return ms_instance; } void DDebug::Release() { delete ms_instance; ms_instance = 0; } }