equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 // Include Files |
|
19 |
|
20 #include "DebugNotifierimplementation.h" // CDebugNotifier |
|
21 |
|
22 _LIT(KDeBugNotification,"Debug Services are available through USB"); |
|
23 // |
|
24 // CDebugNotifier* FactoryFunction() |
|
25 // |
|
26 // Entry point for the dll |
|
27 // |
|
28 EXPORT_C CDebugNotifier* FactoryFunction() |
|
29 { |
|
30 return new CDebugNotifier(); |
|
31 } |
|
32 |
|
33 // |
|
34 // CDebugNotifier::NotifyTheUser() |
|
35 // |
|
36 // This is the method to notify the user about the debug services |
|
37 // |
|
38 void CDebugNotifier::NotifyTheUserL() |
|
39 { |
|
40 CAknGlobalNote* debugNote = CAknGlobalNote::NewL(); |
|
41 CleanupStack::PushL( debugNote ); |
|
42 TInt noteid = debugNote->ShowNoteL(EAknGlobalConfirmationNote, KDeBugNotification); |
|
43 CleanupStack::PopAndDestroy(); |
|
44 } |
|
45 |
|
46 |