mmmw_plat/voip_audio_services_api/inc/voipringtonefactory.h
changeset 0 71ca22bcf22a
child 3 4f62049db6ac
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Defines factory object for creating ring tone player.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __RINGTONEFACTORY_H
       
    20 #define __RINGTONEFACTORY_H
       
    21 
       
    22 
       
    23 // FORWARD DECLARATIONS
       
    24 class CRingTonePlayer;
       
    25 class CRingToneFactoryImpl;
       
    26 
       
    27 
       
    28 /**
       
    29  *  CRingToneFactory class
       
    30  *
       
    31  *  ?more_complete_description
       
    32  *
       
    33  *  @lib VoIPAudioIntfc.dll
       
    34  *  @since S60 v5.0
       
    35  */
       
    36 class CRingToneFactory
       
    37     {
       
    38 public:
       
    39 
       
    40     /**
       
    41      * CreateFactory
       
    42      *
       
    43      * @since S60 v5.0
       
    44      * @param CRingToneFactory*&
       
    45      * @return TInt
       
    46      */
       
    47     IMPORT_C static TInt CreateFactory(CRingToneFactory*& aFactory);
       
    48 
       
    49     /**
       
    50      * Destructor
       
    51      *
       
    52      * @since S60 v5.0
       
    53      * @param none
       
    54      * @return none
       
    55      */
       
    56     IMPORT_C ~CRingToneFactory();
       
    57 
       
    58     /**
       
    59      * CreateRingTonePlayer
       
    60      *
       
    61      * @since S60 v5.0
       
    62      * @param CRingTonePlayer*&
       
    63      * @return TInt
       
    64      */
       
    65     IMPORT_C TInt CreateRingTonePlayer(CRingTonePlayer*& aFactory);
       
    66 
       
    67 private:
       
    68 
       
    69     /**
       
    70      * Constructor
       
    71      *
       
    72      * @since S60 v5.0
       
    73      * @param none
       
    74      * @return none
       
    75      */
       
    76     CRingToneFactory();
       
    77 
       
    78     /**
       
    79      * Symbian constructor
       
    80      *
       
    81      * @since S60 v5.0
       
    82      * @param none
       
    83      * @return none
       
    84      */
       
    85     void ConstructL();
       
    86 
       
    87 private:
       
    88 
       
    89     CRingToneFactoryImpl* iRingToneFactoryImpl;
       
    90 
       
    91     };
       
    92 
       
    93 #endif //__RINGTONEFACTORY_H
       
    94 
       
    95 // End of file