equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-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: Base class for personalitites |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <usbman.h> |
|
20 #include <usbuinotif.h> |
|
21 #include <cusbpersonality.h> |
|
22 #include <tusbpersonalityparams.h> |
|
23 #include "debug.h" |
|
24 |
|
25 // --------------------------------------------------------------------------- |
|
26 // C++ constructor can NOT contain any code, that might leave. |
|
27 // --------------------------------------------------------------------------- |
|
28 // |
|
29 EXPORT_C CUsbPersonality::CUsbPersonality( TUsbPersonalityParams& |
|
30 aPersonalityParams ) |
|
31 : CActive( EPriorityStandard ) |
|
32 , iPersonalityParams( aPersonalityParams ) |
|
33 { |
|
34 LOG_FUNC |
|
35 |
|
36 } |
|
37 |
|
38 // --------------------------------------------------------------------------- |
|
39 // Destructor. |
|
40 // --------------------------------------------------------------------------- |
|
41 // |
|
42 CUsbPersonality::~CUsbPersonality() |
|
43 { |
|
44 LOG_FUNC |
|
45 |
|
46 } |
|
47 |
|
48 // --------------------------------------------------------------------------- |
|
49 // Called by CUsbActivePersonalityHandler. |
|
50 // DEPRICATED |
|
51 // --------------------------------------------------------------------------- |
|
52 // |
|
53 EXPORT_C void CUsbPersonality::ShowUsbConnectionNote() |
|
54 { |
|
55 LOG_FUNC |
|
56 |
|
57 } |
|
58 |
|
59 // End of file |
|
60 |