mmsharinguis_plat/live_comms_plugin_api/inc/lcdestinationfilecontrol.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2009 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 #ifndef MLCDESTINATIONFILECONTROL_H
       
    19 #define MLCDESTINATIONFILECONTROL_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32std.h>
       
    23 
       
    24 // CLASS DECLARATION
       
    25 /**
       
    26 * Class for controlling the usage of a destination file for a player.
       
    27 */
       
    28 class MLcDestinationFileControl
       
    29     {
       
    30     public: 
       
    31         
       
    32         /**
       
    33         * Sets the name of the destination file.
       
    34         * @param aFileName the file name
       
    35         */
       
    36         virtual void SetLcFileNameL( const TFileName& aFileName ) = 0;
       
    37         
       
    38         /**
       
    39         * Returns the name of the destination file.
       
    40         * @return the file name
       
    41         */
       
    42         virtual TFileName& LcFileName() = 0;
       
    43 
       
    44         /**
       
    45         * Starts or pauses recording
       
    46         */
       
    47         virtual void LcRecordL( TBool aRecord ) = 0;
       
    48 
       
    49         /**
       
    50         * Checks whether recording is paused or not
       
    51         */
       
    52         virtual TBool LcIsRecording() = 0;    
       
    53     };
       
    54 
       
    55 #endif // MLCDESTINATIONFILECONTROL_H
       
    56 
       
    57 // end of file