contentpublishingsrv/contentpublishingutils/contentpublishingdebug/src/cpdebug.cpp
branchRCL_3
changeset 51 15e4dd19031c
parent 0 79c6a41cd166
equal deleted inserted replaced
19:502e5d91ad42 51:15e4dd19031c
    35     iData->iFirstUpdateTime.UniversalTime( );
    35     iData->iFirstUpdateTime.UniversalTime( );
    36     iData->iFileName.Create( aFile.Length( ) );
    36     iData->iFileName.Create( aFile.Length( ) );
    37     iData->iFileName = aFile;
    37     iData->iFileName = aFile;
    38     Dll::SetTls( iData );
    38     Dll::SetTls( iData );
    39     User::LeaveIfError( iData->iFs.Connect( ) );
    39     User::LeaveIfError( iData->iFs.Connect( ) );
    40     EnableLogging( ETrue );
    40     EnableLogging( EFalse );
    41     }
    41     }
    42 
    42 
    43 // ---------------------------------------------------------------------------
    43 // ---------------------------------------------------------------------------
    44 // 
    44 // 
    45 // ---------------------------------------------------------------------------
    45 // ---------------------------------------------------------------------------
   159 
   159 
   160 // ---------------------------------------------------------------------------
   160 // ---------------------------------------------------------------------------
   161 // 
   161 // 
   162 // ---------------------------------------------------------------------------
   162 // ---------------------------------------------------------------------------
   163 //
   163 //
       
   164 EXPORT_C void CCPDebug::ExtendedPrint( const char* aStringParam,
       
   165                                        const CLiwGenericParamList& aInParamList )
       
   166     {
       
   167     RDebug::Printf( "CPS Client::Request %s Parameters: \n", aStringParam );
       
   168     for ( TInt i = 0; i < aInParamList.Count( ); i++ )
       
   169         {
       
   170         TLiwGenericParam tempParam;
       
   171         tempParam.PushL();
       
   172         TRAP_IGNORE( aInParamList.AtL(i ,tempParam) );
       
   173         Dump( tempParam.Value() );
       
   174         CleanupStack::Pop(&tempParam);
       
   175         tempParam.Reset();
       
   176         }
       
   177     }
       
   178 
       
   179 // ---------------------------------------------------------------------------
       
   180 //
       
   181 // ---------------------------------------------------------------------------
       
   182 //
   164 EXPORT_C DebugData* CCPDebug::Data()
   183 EXPORT_C DebugData* CCPDebug::Data()
   165     {
   184     {
   166     return static_cast<DebugData*>(Dll::Tls());
   185     return static_cast<DebugData*>(Dll::Tls());
   167     }
   186     }
   168 
   187