commondrm/drmencryptor/inc/DRMPlayServerTest.h
branchRCL_3
changeset 26 1221b68b8a5f
parent 25 50c53e893c3f
child 27 1481bf457703
equal deleted inserted replaced
25:50c53e893c3f 26:1221b68b8a5f
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DRMPLAYSERVERTEST_H
       
    20 #define DRMPLAYSERVERTEST_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <DrmAudioSamplePlayer.h>
       
    24 
       
    25 class CDRMPlayServerTest : public CBase, public MDrmAudioPlayerCallback
       
    26     {
       
    27     
       
    28     public:
       
    29         
       
    30         static CDRMPlayServerTest* NewLC();
       
    31 
       
    32         ~CDRMPlayServerTest();
       
    33 
       
    34         TInt ExecutePlayServerTest();
       
    35 
       
    36         void MdapcInitComplete( TInt aError, 
       
    37                                 const TTimeIntervalMicroSeconds& aDuration );
       
    38 
       
    39         void MdapcPlayComplete( TInt aError );
       
    40 
       
    41    private:
       
    42         
       
    43         CDRMPlayServerTest();
       
    44         
       
    45         void ConstructL();
       
    46    
       
    47    private:  // Data
       
    48     
       
    49         CDrmPlayerUtility* iDrmPlayerUtility;
       
    50         CActiveSchedulerWait* iWait;
       
    51         TInt iError;
       
    52 
       
    53     };
       
    54 
       
    55 #endif // DRMPLAYSERVERTEST_H
       
    56 
       
    57 // End of File