equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
94 /** |
94 /** |
95 * Get the ID for current USB personality mode |
95 * Get the ID for current USB personality mode |
96 * @param aCurrentPersonality current personality id |
96 * @param aCurrentPersonality current personality id |
97 */ |
97 */ |
98 void GetCurrentIdL(TInt& aCurrentPersonality); |
98 void GetCurrentIdL(TInt& aCurrentPersonality); |
|
99 |
99 /** |
100 /** |
100 * Get the mode name and header for current personality |
101 * Get the mode name and header for current personality |
101 * @param aDescription The returned current personality string. |
102 * @param aDescription The returned current personality string. |
102 * @param aHeader The header string for message query. |
103 * @param aHeader The header string for message query. |
103 */ |
104 */ |
105 |
106 |
106 /** |
107 /** |
107 * Runs the connected discreet note |
108 * Runs the connected discreet note |
108 */ |
109 */ |
109 void RunQueryL(); |
110 void RunQueryL(); |
110 |
|
111 |
111 |
112 /** |
112 /** |
113 * creates the USB UI setting view |
113 * creates the USB UI setting view |
114 * @param aProcessName The process name (USBClassChangeUI.exe) |
114 * @param aProcessName The process name (USBClassChangeUI.exe) |
115 * @param TUidType |
115 * @param TUidType |
116 */ |
116 */ |
117 void CreateChosenViewL(const TDesC & aProcessName,const TUidType & aUidType) const; |
117 void CreateChosenViewL(const TDesC & aProcessName,const TUidType & aUidType) const; |
|
118 |
118 private: |
119 private: |
119 /** |
120 /** |
120 * C++ default constructor. |
121 * C++ default constructor. |
121 */ |
122 */ |
122 CUSBUICableConnectedNotifier(); |
123 CUSBUICableConnectedNotifier(); |
125 * Waiter for canceling notifier. Canceling is not posible when note is visible |
126 * Waiter for canceling notifier. Canceling is not posible when note is visible |
126 */ |
127 */ |
127 CActiveSchedulerWait iNoteWaiter; |
128 CActiveSchedulerWait iNoteWaiter; |
128 |
129 |
129 /** |
130 /** |
130 * Note visible |
131 * Note visible |
131 */ |
132 */ |
132 TBool iNoteVisible; |
133 TBool iNoteVisible; |
133 |
134 |
|
135 /** |
|
136 * Note tapped |
|
137 */ |
|
138 TBool iNoteTapped; |
|
139 |
134 }; |
140 }; |
|
141 |
135 #endif // USBUINCABLECONNECTEDNOTIFIER_H |
142 #endif // USBUINCABLECONNECTEDNOTIFIER_H |