diff -r 502e5d91ad42 -r 15e4dd19031c contentpublishingsrv/contentpublishingutils/contentpublishingdebug/inc/cpdebug.h --- a/contentpublishingsrv/contentpublishingutils/contentpublishingdebug/inc/cpdebug.h Mon Mar 15 12:41:53 2010 +0200 +++ b/contentpublishingsrv/contentpublishingutils/contentpublishingdebug/inc/cpdebug.h Wed Mar 31 22:04:35 2010 +0300 @@ -23,6 +23,7 @@ #include #ifdef CONTENT_PUBLISHER_DEBUG #include +#include _LIT(KCPDebugDirName, "contentpublisher" ); _LIT(KCPDebugFileName, "c:\\contentpublisher.txt" ); @@ -62,6 +63,14 @@ */ IMPORT_C static void Printf(TRefByValue aFormat, ...); + /** + * Print debug text to RDebug + * + */ + IMPORT_C static void ExtendedPrint( const char* aStringParam, + const CLiwGenericParamList& aInParamList ); + + private: CCPDebug(); @@ -84,7 +93,7 @@ }; #define CP_DEBUG(s) CCPDebug::Printf(s) - +#define CP_EXTENDED_DEBUG(s,p) CCPDebug::ExtendedPrint(s,p) /** * Thread local storage space. Writable static data is not supported in * Symbian, so static data is stored in this struct. @@ -100,7 +109,8 @@ #else -#define CP_DEBUG(s) +#define CP_DEBUG(s) +#define CP_EXTENDED_DEBUG(s,p) #endif