videofeeds/clientapi/inc/CIptvMyVideosFolder.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 CIPTVMYVIDEOSFOLDER_H
       
    21 #define CIPTVMYVIDEOSFOLDER_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32std.h>
       
    25 #include "CIptvUtil.h"
       
    26 #include "CIptvMyVideosGlobalFolderId.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 CIptvMyVideosFolder : public CBase
       
    39     {
       
    40     public:
       
    41 
       
    42         /**
       
    43          * Two-phased constructor.
       
    44          *
       
    45          * @return New CIptvMyVideosFolder object.
       
    46          */
       
    47         IMPORT_C static CIptvMyVideosFolder* NewL();
       
    48 
       
    49         /**
       
    50          * Two-phased constructor.
       
    51          *
       
    52          * @return New CIptvMyVideosFolder object.
       
    53          */
       
    54         IMPORT_C static CIptvMyVideosFolder* NewLC();
       
    55     
       
    56         /**
       
    57          * Destructor.
       
    58          */
       
    59         virtual ~CIptvMyVideosFolder();
       
    60 
       
    61         /**
       
    62          * Externalize.
       
    63          *
       
    64          * @param aStream Stream to externalize object to.
       
    65          */
       
    66         IMPORT_C void ExternalizeL(RWriteStream& aStream) const;
       
    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          * Global folder ID identifier.
       
    86          */
       
    87         CIptvMyVideosGlobalFolderId* iFolderId;
       
    88 
       
    89         /**        
       
    90          * Folder name.
       
    91          */
       
    92         TBuf<KIptvMyVideosFolderNameMaxLength> iName;
       
    93 
       
    94     protected:
       
    95            
       
    96         /**
       
    97          * C++ default constructor.
       
    98          */
       
    99         CIptvMyVideosFolder();
       
   100 
       
   101         /**
       
   102          * Symbian 2nd phase constructor.
       
   103          */
       
   104         void ConstructL();
       
   105     };
       
   106 
       
   107 #endif // CIPTVMYVIDEOSFOLDER_H
       
   108 
       
   109 // End of File