//============================================================================= // cTWPrint::cTWPrint() //----------------------------------------------------------------------------- // REQUIRES: // // EFFECTS: // // POSTCONDITIONS: // // COMPLEXITY: // Constant // cTWPrint::cTWPrint() { // // set up dependencies // TSS_Dependency( cTW ); TSS_REGISTER_PKG_ERRORS ( twprint ); }
cCore::cCore() { TSS_REGISTER_PKG_ERRORS( core ); // NOTE: Initialize code converter when cCore is a dependency // of another package (created on first call to GetInstance(), // forcing creation here to hasten the display of any errors) cDebug::SetDebugLevel( cDebug::D_DEBUG ); cDebug::AddOutTarget( cDebug::OUT_STDOUT ); cTWLocale::InitGlobalLocale(); iCodeConverter::GetInstance(); }
// [email protected] or www.tripwire.org. // /////////////////////////////////////////////////////////////////////////////// // parser.cpp // //========================================================================= // INCLUDES //========================================================================= #include "stdtwparser.h" #include "twparsererrors.h" #include "twparser.h" //========================================================================= // PUBLIC METHOD CODE //========================================================================= TSS_ImplementPackage( cTWParser ) cTWParser::cTWParser() { // // set up dependencies // // TODO:BAM -- TSS_Dependency( ??? ); TSS_REGISTER_PKG_ERRORS( twparser ) }