syncmlfw/dm/wappushalert/inc/nsmldmwappushalert.h
changeset 0 b497e44ab2fc
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2003 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:  Ecom plug-in for x-wap-application:syncml.dm application ID          
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __NSMLDMWAPPUSHALERT_H__
       
    20 #define __NSMLDMWAPPUSHALERT_H__
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <cpushhandlerbase.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 //
       
    28 class CContentHandlerBase;
       
    29 
       
    30 // CONSTANTS
       
    31 //
       
    32 const TUint KNSmlDMWapPushAlertImplUid = 0x101F6E38;
       
    33 
       
    34 
       
    35 // CLASS DECLARATION
       
    36 class CNSmlDMWapPushAlert : public CPushHandlerBase
       
    37 	{
       
    38 public:	// constructor and destructor
       
    39 
       
    40 	static CNSmlDMWapPushAlert* NewL();
       
    41 	virtual ~CNSmlDMWapPushAlert();
       
    42 
       
    43 private:  // New functions
       
    44 
       
    45 	CNSmlDMWapPushAlert();
       
    46 	void ProcessMessageL(const CPushMessage& aPushMsg);
       
    47 	
       
    48 private: // Functions from base classes
       
    49 
       
    50 	void HandleMessageL(CPushMessage* aPushMsg, TRequestStatus& aStatus);  //from CPushHandlerBase
       
    51 	void CancelHandleMessage();                                            //from CPushHandlerBase   
       
    52 	void HandleMessageL(CPushMessage* aPushMsg);                           //from CPushHandlerBase    
       
    53     void CPushHandlerBase_Reserved1();                                     //from CPushHandlerBase    
       
    54 	void CPushHandlerBase_Reserved2();                                     //from CPushHandlerBase
       
    55 
       
    56     void DoCancel();       // from CActive
       
    57 	void RunL();           // from CActive
       
    58 
       
    59 
       
    60 private:	// Data
       
    61     //
       
    62 	// Used classes
       
    63 	//
       
    64 	//CContentHandlerBase*		iContentHandlerPi;
       
    65 	};
       
    66 
       
    67 #endif	// __NSMLDMWAPPUSHALERT_H__