| author | William Roberts <williamr@symbian.org> |
| Wed, 31 Mar 2010 12:33:34 +0100 | |
| branch | Symbian3 |
| changeset 4 | 837f303aceeb |
| parent 3 | e1b950c65cb4 |
| permissions | -rw-r--r-- |
| williamr@2 | 1 |
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
| williamr@2 | 2 |
// All rights reserved. |
| williamr@2 | 3 |
// This component and the accompanying materials are made available |
| williamr@4 | 4 |
// under the terms of "Eclipse Public License v1.0" |
| williamr@2 | 5 |
// which accompanies this distribution, and is available |
| williamr@4 | 6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
| williamr@2 | 7 |
// |
| williamr@2 | 8 |
// Initial Contributors: |
| williamr@2 | 9 |
// Nokia Corporation - initial contribution. |
| williamr@2 | 10 |
// |
| williamr@2 | 11 |
// Contributors: |
| williamr@2 | 12 |
// |
| williamr@2 | 13 |
// Description: |
| williamr@2 | 14 |
// |
| williamr@2 | 15 |
|
| williamr@2 | 16 |
#ifndef __MOBEXNOTIFY_H__ |
| williamr@2 | 17 |
#define __MOBEXNOTIFY_H__ |
| williamr@2 | 18 |
|
| williamr@2 | 19 |
#include <e32std.h> |
| williamr@2 | 20 |
|
| williamr@2 | 21 |
class CObexPacket; |
| williamr@2 | 22 |
|
| williamr@2 | 23 |
/** |
| williamr@2 | 24 |
@internalComponent |
| williamr@2 | 25 |
|
| williamr@4 | 26 |
This class is only for internal use. |
| williamr@4 | 27 |
|
| williamr@4 | 28 |
Originally it provided the call back interface for anything owned by CObex. |
| williamr@2 | 29 |
Note: This is an internal class which is not intended for use outside of |
| williamr@2 | 30 |
the Transport<->Obex interface. Even where access rules allow it, external |
| williamr@2 | 31 |
users should not call these functions as their implementation may change. |
| williamr@2 | 32 |
*/ |
| williamr@2 | 33 |
NONSHARABLE_CLASS(MObexNotify) |
| williamr@2 | 34 |
|
| williamr@2 | 35 |
{
|
| williamr@4 | 36 |
public: |
| williamr@4 | 37 |
virtual void Process(CObexPacket &aPacket) =0; |
| williamr@4 | 38 |
virtual void Error(TInt aError) =0; |
| williamr@4 | 39 |
virtual void TransportUp() =0; |
| williamr@4 | 40 |
virtual void TransportDown(TBool aForceTransportDeletion) =0; |
| williamr@2 | 41 |
}; |
| williamr@2 | 42 |
|
| williamr@2 | 43 |
#endif // __MOBEXNOTIFY_H__ |