author | William Roberts <williamr@symbian.org> |
Wed, 31 Mar 2010 12:33:34 +0100 | |
branch | Symbian3 |
changeset 4 | 837f303aceeb |
permissions | -rw-r--r-- |
williamr@4 | 1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
williamr@4 | 2 |
// All rights reserved. |
williamr@4 | 3 |
// This component and the accompanying materials are made available |
williamr@4 | 4 |
// under the terms of "Eclipse Public License v1.0" |
williamr@4 | 5 |
// which accompanies this distribution, and is available |
williamr@4 | 6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
williamr@4 | 7 |
// |
williamr@4 | 8 |
// Initial Contributors: |
williamr@4 | 9 |
// Nokia Corporation - initial contribution. |
williamr@4 | 10 |
// |
williamr@4 | 11 |
// Contributors: |
williamr@4 | 12 |
// |
williamr@4 | 13 |
// Description: |
williamr@4 | 14 |
// Generic Event class. |
williamr@4 | 15 |
// XEventBase exists to support interworking with old CSubConNotificationEvent class. |
williamr@4 | 16 |
// |
williamr@4 | 17 |
// |
williamr@4 | 18 |
|
williamr@4 | 19 |
/** |
williamr@4 | 20 |
@file |
williamr@4 | 21 |
@internalTechnology |
williamr@4 | 22 |
@prototype |
williamr@4 | 23 |
*/ |
williamr@4 | 24 |
|
williamr@4 | 25 |
#ifndef __ES_EVENT_H__ |
williamr@4 | 26 |
#define __ES_EVENT_H__ |
williamr@4 | 27 |
|
williamr@4 | 28 |
#include <comms-infras/metadata.h> |
williamr@4 | 29 |
|
williamr@4 | 30 |
namespace ESock |
williamr@4 | 31 |
{ |
williamr@4 | 32 |
|
williamr@4 | 33 |
const TInt KEventTypeItflUid = 0x10272F51; |
williamr@4 | 34 |
const TInt KEventTypeImplUid = 0x10272F52; |
williamr@4 | 35 |
|
williamr@4 | 36 |
class XEventBase : public Meta::SMetaDataECom |
williamr@4 | 37 |
{ |
williamr@4 | 38 |
}; |
williamr@4 | 39 |
|
williamr@4 | 40 |
class XPlaneEvent : public XEventBase |
williamr@4 | 41 |
{ |
williamr@4 | 42 |
public: |
williamr@4 | 43 |
IMPORT_C static XPlaneEvent* NewL(Meta::STypeId aTypeId); |
williamr@4 | 44 |
IMPORT_C virtual ~XPlaneEvent(); |
williamr@4 | 45 |
|
williamr@4 | 46 |
private: |
williamr@4 | 47 |
EXPORT_TYPEID_TABLE |
williamr@4 | 48 |
}; |
williamr@4 | 49 |
|
williamr@4 | 50 |
} |
williamr@4 | 51 |
|
williamr@4 | 52 |
#endif // ES_EVENT_H |
williamr@4 | 53 |