videofeeds/clientapi/inc/CIptvMyVideosGlobalFileId.h
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     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 the License "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 data class structure for the API*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CIPTVMYVIDEOSGLOBALFILEID_H
       
    21 #define CIPTVMYVIDEOSGLOBALFILEID_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32std.h>
       
    25 #include "CIptvUtil.h"
       
    26 #include "MIptvStreamObject.h"
       
    27 
       
    28 class RWriteStream;
       
    29 class RReadStream;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 * Defines data class structure for the API.
       
    35 *
       
    36 * @lib IptvClientApi.dll
       
    37 */
       
    38 class CIptvMyVideosGlobalFileId : public CBase, public MIptvStreamObject
       
    39     {
       
    40     public:
       
    41 
       
    42         /**
       
    43          * Two-phased constructor.
       
    44          *
       
    45          * @return New CIptvMyVideosGlobalFileId object.
       
    46          */
       
    47         IMPORT_C static CIptvMyVideosGlobalFileId* NewL();
       
    48 
       
    49         /**
       
    50          * Two-phased constructor.
       
    51          *
       
    52          * @return New CIptvMyVideosGlobalFileId object.         
       
    53          */
       
    54         IMPORT_C static CIptvMyVideosGlobalFileId* NewLC();
       
    55 
       
    56         /**
       
    57          * Destructor.
       
    58          */
       
    59         virtual ~CIptvMyVideosGlobalFileId();
       
    60 
       
    61         /**
       
    62          * Externalize.
       
    63          *
       
    64          * @param aStream Stream to externalize object to.         
       
    65          */
       
    66         IMPORT_C void ExternalizeL(RWriteStream& aStream);
       
    67 
       
    68         /**
       
    69          * Internalize.
       
    70          *
       
    71          * @param aStream Stream to internalize object from.         
       
    72          */
       
    73         IMPORT_C void InternalizeL(RReadStream& aStream);
       
    74 
       
    75         /**
       
    76          * Count externalized size.
       
    77          *
       
    78          * @return Externalized size.         
       
    79          */
       
    80         IMPORT_C TUint32 CountExternalizeSize();
       
    81 
       
    82     public: // Data.
       
    83 
       
    84         /**        
       
    85         * See TDriveNumber, EDriveC and EDriveE allowed.
       
    86         */
       
    87         TInt iDrive;  
       
    88 
       
    89         /**        
       
    90         * Drive specific file ID identifier.
       
    91         */
       
    92         TIptvFileId iFileId; 
       
    93 
       
    94     protected:
       
    95 
       
    96         /**
       
    97         * C++ default constructor.
       
    98         */
       
    99         CIptvMyVideosGlobalFileId();
       
   100 
       
   101         /**
       
   102         * Symbian 2nd phase constructor.
       
   103         */
       
   104         void ConstructL();
       
   105     };
       
   106 
       
   107 #endif // CIPTVMYVIDEOSGLOBALFILEID_H
       
   108 
       
   109 // End of File