datacommsserver/esockserver/inc/es_event.h
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 2008-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 // Generic Event class.
       
    15 // XEventBase exists to support interworking with old CSubConNotificationEvent class.
       
    16 // 
       
    17 //
       
    18 
       
    19 /**
       
    20  @file
       
    21  @internalTechnology
       
    22  @prototype
       
    23 */
       
    24 
       
    25 #ifndef __ES_EVENT_H__
       
    26 #define __ES_EVENT_H__
       
    27 
       
    28 #include <comms-infras/metadata.h>
       
    29 
       
    30 namespace ESock
       
    31 {
       
    32 
       
    33 const TInt KEventTypeItflUid = 0x10272F51;
       
    34 const TInt KEventTypeImplUid = 0x10272F52;
       
    35 
       
    36 class XEventBase : public Meta::SMetaDataECom
       
    37 	{
       
    38 	};
       
    39 
       
    40 class XPlaneEvent : public XEventBase
       
    41 	{
       
    42 public:
       
    43 	IMPORT_C static XPlaneEvent* NewL(Meta::STypeId aTypeId);
       
    44 	IMPORT_C virtual ~XPlaneEvent();
       
    45 
       
    46 private:
       
    47 	EXPORT_TYPEID_TABLE
       
    48 	};
       
    49 
       
    50 }
       
    51 
       
    52 #endif // ES_EVENT_H
       
    53