multimediacommscontroller/mmccsubcontroller/inc/mccdatapathdef.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2004-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:    Provides datapath definitions for MCC subthreads
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MCCDATAPATHDEF_H
       
    22 #define MCCDATAPATHDEF_H
       
    23 
       
    24 // DATA TYPES
       
    25 
       
    26     /**
       
    27     * State of the data transfer in datapath
       
    28     */
       
    29     enum TTransferState
       
    30         {
       
    31         EWaitSink,
       
    32         EWaitSource,
       
    33         ENeedSourceData,
       
    34         ESendDataToSink,
       
    35         ECanceled,
       
    36         EEndOfData //indicates that the datapath has transferred all the data to the sink
       
    37         };
       
    38 
       
    39     /**
       
    40     * Datapaths state enumeration
       
    41     */
       
    42     enum TDataPathState
       
    43         {
       
    44         EStopped,
       
    45         EPrimed,
       
    46         EStreaming,
       
    47         EPaused
       
    48         };
       
    49 
       
    50 #endif      // MCCDATAPATHDEF_H
       
    51             
       
    52 // End of File