equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Interface for group pc observer for chat/message error events |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MCAGROUPOBSERVERPC_H |
|
20 #define MCAGROUPOBSERVERPC_H |
|
21 |
|
22 //INCLUDES |
|
23 #include <e32std.h> |
|
24 |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Group observer interface for chat and message error events to the UI. |
|
30 * Signalling goes from the Engine -> UI. |
|
31 * |
|
32 * @lib wvuiprocessng.lib |
|
33 * @since 3.2 |
|
34 */ |
|
35 class MCAGroupObserverPC |
|
36 { |
|
37 public: |
|
38 |
|
39 /** |
|
40 * Handle events. |
|
41 * @param aWvid - WVID of the sender |
|
42 * @param aContactId - Sender identification |
|
43 */ |
|
44 virtual void HandleChatEvent( const TDesC& aWvid = KNullDesC, |
|
45 const TDesC& aContactId = KNullDesC ) = 0; |
|
46 |
|
47 |
|
48 /** |
|
49 * Handle events. |
|
50 * @param aNick, Identification of Recipient |
|
51 * @param aError, Message Error Code |
|
52 */ |
|
53 virtual void HandleMessageError( TInt aError, |
|
54 const TDesC& aNick = KNullDesC ) = 0; |
|
55 |
|
56 protected: |
|
57 /** |
|
58 * Destructor. |
|
59 */ |
|
60 virtual ~MCAGroupObserverPC() {}; |
|
61 }; |
|
62 |
|
63 #endif // MCAGROUPCHATOBSERVERPC_H |
|
64 |
|
65 // End of File |