networkprotocolmodules/suplprotocolmodule/SuplPushAPI/inc/lbssuplpushreceiverchannel.h
changeset 0 9cfd9a3ee49c
equal deleted inserted replaced
-1:000000000000 0:9cfd9a3ee49c
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Internal implementation of the SUPL Push API receiver channel
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21  @deprecated
       
    22 */
       
    23 #ifndef SUPL_PUSH_RECEIVER_CHANNEL_H
       
    24 #define SUPL_PUSH_RECEIVER_CHANNEL_H
       
    25 
       
    26 #include <e32std.h>
       
    27 #include <e32property.h>
       
    28 
       
    29 #include <lbs/lbssuplpushcommon.h>
       
    30 
       
    31 class MLbsSuplPushRecObserver;
       
    32 
       
    33 /**
       
    34 The class provides an implementation of the SUPL Push API SMS or WAP Push channel.
       
    35 
       
    36 @internalComponent
       
    37 @deprecated
       
    38 
       
    39 @see CLbsSuplPushRecImpl
       
    40 @see MLbsSuplPushRecObserver
       
    41 */
       
    42 NONSHARABLE_CLASS(CLbsSuplPushRecChannel) : public CActive
       
    43 	{
       
    44 public:
       
    45 	static CLbsSuplPushRecChannel* NewL(TLbsSuplPushChannel aChannel, MLbsSuplPushRecObserver& aObserver,
       
    46 			TUid aPropOwnerSecureId);
       
    47 	virtual ~CLbsSuplPushRecChannel();
       
    48 	
       
    49 protected:
       
    50 	virtual void RunL();
       
    51 	virtual void DoCancel();
       
    52 	
       
    53 private:
       
    54 	
       
    55 #ifdef TE_LBSSUPLPUSHIMPL_ON
       
    56 protected:
       
    57 #endif	
       
    58 
       
    59 	CLbsSuplPushRecChannel(TLbsSuplPushChannel aChannel, MLbsSuplPushRecObserver& aObserver, 
       
    60 			TUid aPropOwnerSecureId);
       
    61 	void ConstructL();
       
    62 	
       
    63 private:
       
    64 	/** A reference to a user of the CLbsSuplPushRec interface 
       
    65 	waiting for new message notification call-backs. */
       
    66 	MLbsSuplPushRecObserver& iObserver;
       
    67 	
       
    68 	/** An INIT property handle */
       
    69 	RProperty iInitProperty;
       
    70 	
       
    71 	/** The type of the channel */
       
    72 	TLbsSuplPushChannel iChannel;
       
    73 	
       
    74 	/** The INIT property key */
       
    75 	TUint iInitPropKey;
       
    76 	
       
    77 	/** The ACK property key */
       
    78 	TUint iAckPropKey;
       
    79 	
       
    80 	/** The security id of the process that defines the P&S props used*/
       
    81 	TUid iPropOwnerSecureId;
       
    82 	};
       
    83 
       
    84 #endif //SUPL_PUSH_RECEIVER_CHANNEL_H