mmfenh/enhancedmediaclient/Plugins/FileSource/inc/FileDataSourceCommon.h
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Definition of the S60 File common parameters.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef FILEDATASOURCECOMMMON_H
       
    20 #define FILEDATASOURCECOMMMON_H
       
    21 
       
    22 #include <MultimediaDataSource.h>
       
    23 
       
    24 const TUid KFileDataSourcePlugin = {0x10207B89};
       
    25 
       
    26 enum TFileDataSourceCC
       
    27     {
       
    28     EGetFileSourceEvent = 1,
       
    29     EGetBitRateEvent
       
    30     };
       
    31 
       
    32 
       
    33 enum TFileDataSourceEventType
       
    34     {
       
    35     EFileBitRateChanged = 1,
       
    36     EFileSourceStateChanged,
       
    37     EFileSize
       
    38     };
       
    39 
       
    40 class TFileDataSourceEvent
       
    41     {
       
    42 public:
       
    43     TFileDataSourceEventType iType;
       
    44     TUint iBitRate;
       
    45     CMultimediaDataSource::TState iState;
       
    46     TUint iFileSize;
       
    47     };
       
    48 
       
    49 typedef TPckgBuf<TFileDataSourceEvent> TFileDataSourceEventPckgBuf;
       
    50 
       
    51 #endif // FILEDATASOURCECOMMMON_H
       
    52 
       
    53 //  End of File