javauis/amms_akn/mmacontrol/inc/cammsplayerbuilder.h
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2005 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:  Base class for AMMS player builders.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CAMMSPLAYERBUILDER_H
       
    20 #define CAMMSPLAYERBUILDER_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <cmmaplayer.h>
       
    24 
       
    25 // CLASS DECLARATION
       
    26 
       
    27 /**
       
    28 *
       
    29 *  Base class for AMMS player and control builders.
       
    30 *
       
    31 *
       
    32 *  @since 3.0
       
    33 */
       
    34 NONSHARABLE_CLASS(CAMMSPlayerBuilder): public CBase
       
    35 {
       
    36 public:  // Constructors and destructor
       
    37     /**
       
    38     * Destructor.
       
    39     */
       
    40     ~CAMMSPlayerBuilder();
       
    41 
       
    42 public: // New methods
       
    43     /**
       
    44     * Adds the AMMS audio controls to the player
       
    45     *
       
    46     * @param aPlayer The MMA Player where the AMMS controls are added
       
    47     */
       
    48     virtual void PreparePlayerL(CMMAPlayer* aPlayer) = 0;
       
    49 
       
    50 protected: //Protected so derived classes can access
       
    51     /**
       
    52     * C++ default constructor.
       
    53     */
       
    54     CAMMSPlayerBuilder();
       
    55 };
       
    56 
       
    57 #endif // CAMMSPLAYERBUILDER_H
       
    58 
       
    59