idlefw/plugins/sapidataplugin/src/sapidataobserver.cpp
branchRCL_3
changeset 15 a0713522ab97
parent 14 15e4dd19031c
child 16 b276298d5729
equal deleted inserted replaced
14:15e4dd19031c 15:a0713522ab97
    63                 0,
    63                 0,
    64                 this ) );
    64                 this ) );
    65     
    65     
    66     CleanupStack::PopAndDestroy( outParamList );
    66     CleanupStack::PopAndDestroy( outParamList );
    67     CleanupStack::PopAndDestroy( inParamList ); 
    67     CleanupStack::PopAndDestroy( inParamList ); 
    68     }
       
    69 
       
    70 // ---------------------------------------------------------------------------
       
    71 // Sing off to notification
       
    72 // ---------------------------------------------------------------------------
       
    73 //
       
    74 void CSapiDataObserver ::ReleaseL()
       
    75     {
       
    76     if( iInterface )
       
    77         {
       
    78         CLiwGenericParamList* inParamList = CLiwGenericParamList::NewL();
       
    79         CleanupStack::PushL( inParamList );
       
    80         CLiwGenericParamList* outParamList = CLiwGenericParamList::NewL();
       
    81         CleanupStack::PushL( outParamList );
       
    82         
       
    83         TRAP_IGNORE( iInterface->ExecuteCmdL( KRequestNotification,
       
    84                 *inParamList,
       
    85                 *outParamList,
       
    86                 KLiwOptCancel,
       
    87                 this ));
       
    88         
       
    89         CleanupStack::PopAndDestroy( outParamList );
       
    90         CleanupStack::PopAndDestroy( inParamList );
       
    91         }
       
    92     }
    68     }
    93 
    69 
    94 // ---------------------------------------------------------------------------
    70 // ---------------------------------------------------------------------------
    95 // Factory method construction
    71 // Factory method construction
    96 // ---------------------------------------------------------------------------
    72 // ---------------------------------------------------------------------------