|
1 // Copyright (c) 2005-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 // |
|
15 |
|
16 #ifndef MOBEXNOTIFYEXTEND_H |
|
17 #define MOBEXNOTIFYEXTEND_H |
|
18 |
|
19 /** |
|
20 @file |
|
21 @released |
|
22 @internalTechnology |
|
23 */ |
|
24 |
|
25 #include <e32std.h> |
|
26 #include <mobexnotify.h> |
|
27 #include <obex/internal/obextransportconstants.h> |
|
28 |
|
29 class CObexPacket; |
|
30 /** |
|
31 Provides the call back interface for anything using CObexTransport (ie CObex). |
|
32 Note: This is an internal class which is not intended for use outside of |
|
33 the Transport<->Obex interface. Even where access rules allow it, external |
|
34 users should not call these functions as their implementation may change. |
|
35 */ |
|
36 NONSHARABLE_CLASS(MObexNotifyExtend) : public MObexNotify |
|
37 { |
|
38 public: |
|
39 // original functions as found in MObexNotify |
|
40 virtual void Process(CObexPacket& aPacket) =0; |
|
41 virtual void Error(TInt aError) =0; |
|
42 virtual void TransportUp() =0; |
|
43 |
|
44 // This is non-pure as derivers may not care about any events so we |
|
45 // don't want to force them into handling them. |
|
46 virtual void SignalPacketProcessEvent(TObexPacketProcessEvent /*aEvent*/){}; |
|
47 }; |
|
48 |
|
49 #endif // MOBEXNOTIFYEXTEND_H |