--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/epoc32/include/comms-infras/api_ext_msg.h Tue Mar 16 16:12:26 2010 +0000
@@ -0,0 +1,86 @@
+// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
+// which accompanies this distribution, and is available
+// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+
+
+/**
+ @file
+ @publishedPartner
+ @prototype
+*/
+
+#ifndef API_EXT_MSG_H
+#define API_EXT_MSG_H
+
+#include <comms-infras/metadata.h>
+#include <comms-infras/netmessages.h>
+#include <es_prot.h>
+
+class CCommsApiExtensionMsg : public NetMessages::CMessage
+/**
+Comms API extension message.
+
+@publishedPartner
+@prototype
+*/
+ {
+public:
+ /** Creates a new api extension message using ECOM.
+
+ @param aTypeId Id of the class (Composed of Uid of the implementation and an integer sub-type).
+ @return a generic pointer to a specific message if successful, otherwise leaves with system error code.
+ */
+ IMPORT_C static CCommsApiExtensionMsg* NewL(const Meta::STypeId& aTypeId);
+
+ /** Creates a new api extension message using ECOM.
+
+ @param aMsgBuffer a buffer containing the serialised form of the message object.
+ @return a generic pointer to a specific event if successful, otherwise leaves with system error code.
+ */
+ IMPORT_C static CCommsApiExtensionMsg* NewL(const TDesC8& aMsgBuffer);
+ };
+
+namespace NetInterfaces
+ {
+ class TInterfaceControl;
+ }
+namespace Elements
+{
+ class CResponseMsg;
+}
+
+class CCommsApiExtReqMsg : public CCommsApiExtensionMsg
+/**
+Comms API extension request message.
+
+@publishedPartner
+@prototype
+*/
+ {
+public:
+ virtual void DispatchL(NetInterfaces::TInterfaceControl& aIntfCtl, const TSubSessionUniqueId& aSubSessionUniqueId, Elements::CResponseMsg* aResponseMsg) = 0;
+ };
+
+class CCommsApiExtRespMsg : public CCommsApiExtensionMsg
+/**
+Comms API extension response message.
+
+@publishedPartner
+@prototype
+*/
+ {
+ };
+
+#endif // API_EXT_MSG_H