mmmw_plat/voip_audio_services_api/inc/voipringtonefactory.h
author hgs
Tue, 21 Sep 2010 11:38:43 -0500
changeset 53 eabc8c503852
parent 12 5a06f39ad45b
permissions -rw-r--r--
201037

/*
 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
 * which accompanies this distribution, and is available
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
 *
 * Initial Contributors:
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
 *
 * Description:  Defines factory object for creating ring tone player.
 *
 */

#ifndef RINGTONEFACTORY_H
#define RINGTONEFACTORY_H

// FORWARD DECLARATIONS
class CRingTonePlayer;
class CRingToneFactoryImpl;

/**
 *  CRingToneFactory class
 *
 *  @lib VoIPAudioIntfc.dll
 *
 */
class CRingToneFactory
    {
public:

    /**
     * CreateFactory
     * @param CRingToneFactory*&
     * @return TInt
     */
    IMPORT_C static TInt CreateFactory(CRingToneFactory*& aFactory);

    /**
     * Destructor
     * @param none
     * @return none
     */
    IMPORT_C ~CRingToneFactory();

    /**
     * CreateRingTonePlayer
     * @param CRingTonePlayer*&
     * @return TInt
     */
    IMPORT_C TInt CreateRingTonePlayer(CRingTonePlayer*& aFactory);

private:

    /**
     * Constructor
     * @param none
     * @return none
     */
    CRingToneFactory();

    /**
     * Symbian constructor
     * @param none
     * @return none
     */
    void ConstructL();

private:

    CRingToneFactoryImpl* iRingToneFactoryImpl;
    };

#endif //RINGTONEFACTORY_H

// End of file