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: Declaration of CConnectViaNoteNotif |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __CONNECT_VIA_NOTE_H__ |
|
21 #define __CONNECT_VIA_NOTE_H__ |
|
22 |
|
23 |
|
24 // INCLUDES |
|
25 #include "ConnectionDialogsNotifBase.h" |
|
26 |
|
27 // FORWARD DECLARAIONS |
|
28 class CActiveConnectViaNote; |
|
29 /** |
|
30 * ConnectViaNoteNotif class |
|
31 */ |
|
32 NONSHARABLE_CLASS( CConnectViaNoteNotif ) : public CConnectionDialogsNotifBase |
|
33 { |
|
34 public: |
|
35 |
|
36 /** |
|
37 * NewL function |
|
38 * @param - |
|
39 * return CConnectViaNoteNotif* |
|
40 */ |
|
41 static CConnectViaNoteNotif* NewL( const TBool aResourceFileResponsible ); |
|
42 |
|
43 /** |
|
44 * RegisterL register the client notifier function |
|
45 * @param - |
|
46 * return TNotifierInfo |
|
47 */ |
|
48 TNotifierInfo RegisterL(); |
|
49 |
|
50 /** |
|
51 * Start the Notifier |
|
52 * @param aBuffer Buffer |
|
53 * @param aReplySlot Identifies which message argument to use for the |
|
54 * reply. This message argument will refer to a |
|
55 * modifiable descriptor, a TDes8 type, into which data |
|
56 * can be returned. |
|
57 * @param aMessage Message |
|
58 * return - |
|
59 */ |
|
60 void StartL( const TDesC8& aBuffer, TInt aReplySlot, |
|
61 const RMessagePtr2& aMessage ); |
|
62 |
|
63 /** |
|
64 * Cancel() the notifier |
|
65 * @param - |
|
66 * return - |
|
67 */ |
|
68 void Cancel(); |
|
69 |
|
70 public: |
|
71 /** |
|
72 * CompleteL the notifier is complete |
|
73 * @param aStatus status |
|
74 * return - |
|
75 */ |
|
76 void CompleteL( TInt aStatus ); |
|
77 |
|
78 private: |
|
79 CActiveConnectViaNote* iActiveNote; // owned |
|
80 |
|
81 }; |
|
82 |
|
83 |
|
84 #endif // __CONNECT_VIA_NOTE_H__ |
|
85 |
|
86 // End of File |
|