supl/locationsuplfw/protocolhandlerapi/inc/epos_csuplpacketinfo.h
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 2005-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:   Defines the data types related to packet 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_CSUPLPACKETINFO_H
       
    21 #define C_CSUPLPACKETINFO_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 
       
    27 class CSuplPacketInfo : public CBase
       
    28     {
       
    29     private:            
       
    30         //Default Constructor
       
    31         CSuplPacketInfo(const TDesC8& aPacket, TRequestStatus& aStatus);
       
    32 
       
    33     public:
       
    34   		static CSuplPacketInfo* NewL(const TDesC8& aPacket, TRequestStatus& aStatus);
       
    35 
       
    36     public: // New functions
       
    37     
       
    38         void GetPacketData(TPtrC8 &aPacket);
       
    39         void CompleteRequest(TInt err);
       
    40         TBool IsStatusMatches(TRequestStatus& aStatus);
       
    41         
       
    42     private:
       
    43 		void ConstructL();
       
    44 		
       
    45     private:    // Data
       
    46         const TDesC8& iPacket;
       
    47 
       
    48         TRequestStatus* iStatus;
       
    49 };
       
    50 
       
    51 #endif      // CSUPLPACKETINFO  
       
    52             
       
    53 // End of File