videofeeds/clientapi/inc/CIptvEpgService.h
changeset 0 96612d01cf9f
equal deleted inserted replaced
-1:000000000000 0:96612d01cf9f
       
     1 /*
       
     2 * Copyright (c) 2004-2005 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef CIPTVEPGSERVICE_H
       
    22 #define CIPTVEPGSERVICE_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32std.h>
       
    26 #include "CIptvUtil.h"
       
    27 
       
    28 #include "CIptvService.h"
       
    29 
       
    30 // CLASS DECLARATION
       
    31 class CIptvEpgService : public CBase
       
    32     {
       
    33     public:
       
    34         /**
       
    35          * Two-phased constructor.
       
    36          * @param 
       
    37          */
       
    38         IMPORT_C static CIptvEpgService* NewL();
       
    39 
       
    40         /**
       
    41          * Destructor.
       
    42          */
       
    43         virtual ~CIptvEpgService();
       
    44         
       
    45     public: // New methods
       
    46     	/**
       
    47     	*	Setter for search url
       
    48     	*	@param	aSearchUrl	Url to be stored to this class's
       
    49     	*						iSearchUrl field
       
    50     	*	@return	None
       
    51     	*/
       
    52     	IMPORT_C void SetSearchUrlL( const TDesC& aSearchUrl );
       
    53     	
       
    54     	/**
       
    55     	*	Getter for search url
       
    56     	*	@param	None
       
    57     	*	@return	On return contains the reference to the search
       
    58     	*			url
       
    59     	*/
       
    60     	IMPORT_C TPtrC SearchUrl();
       
    61 
       
    62     private: // New functions           
       
    63         /**
       
    64         * C++ default constructor.
       
    65         */
       
    66         CIptvEpgService();
       
    67 
       
    68         /**
       
    69         * By default Symbian 2nd phase constructor is private.
       
    70         * @param 
       
    71         */
       
    72         void ConstructL();
       
    73                   
       
    74 
       
    75 	private: // Private instance variables
       
    76 
       
    77         /**
       
    78         * Search address
       
    79         */
       
    80         HBufC* iSearchUrl;
       
    81 
       
    82     public:     // Data members
       
    83 
       
    84         /**
       
    85         * Service address.       
       
    86         */
       
    87         TBuf<KIptvEpgServiceAddressMaxLength> iAddress;      
       
    88 
       
    89         /**
       
    90         * IAP
       
    91         */
       
    92         TUint32 iIap;
       
    93 
       
    94         /**
       
    95         * Username.
       
    96         */
       
    97         TBuf<KIptvEpgServiceUserNameMaxLength> iUserName;
       
    98 
       
    99         /**
       
   100         * Password.
       
   101         */
       
   102         TBuf<KIptvEpgServicePasswordMaxLength> iPassword;
       
   103 
       
   104         /**
       
   105         * UID.
       
   106         */
       
   107         TUid iUid;
       
   108 
       
   109         /**
       
   110         * Update set.
       
   111         */
       
   112         TUint32 iUpdateSet;
       
   113 
       
   114         /**
       
   115         * Service type;
       
   116         */
       
   117         CIptvService::TServiceType iServiceType;
       
   118 
       
   119         /**
       
   120         * Service id.
       
   121         */
       
   122         TUint32 iServiceId;
       
   123 
       
   124         /**
       
   125         * Last updated.
       
   126         */
       
   127         TTime iLastUpdated;
       
   128     };
       
   129 
       
   130 #endif  // CIPTVEPGSERVICE_H
       
   131 
       
   132 // End of File