equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2010 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 #ifndef BTNOTIFUTIL_H |
|
19 #define BTNOTIFUTIL_H |
|
20 |
|
21 #include <e32base.h> |
|
22 #include <bttypes.h> |
|
23 |
|
24 class CBtDevExtension; |
|
25 |
|
26 /** |
|
27 * Utility class providing common functions required by various classes within |
|
28 * btnotifsrv. |
|
29 * |
|
30 * @since Symbian^4 |
|
31 */ |
|
32 NONSHARABLE_CLASS( TBTNotifUtil ) |
|
33 { |
|
34 public: |
|
35 |
|
36 /** |
|
37 * Gets the name of a device for displaying in UI. |
|
38 * |
|
39 * @param aNameBuf The buffer that will contain the name at return. |
|
40 * @param aDevExt the DevExt instance representing the remote device. |
|
41 * @param aNameInParam the given name from the parameter of a notifier request. |
|
42 * @param aAddr the address of the device. Used only when aDevExt is null. |
|
43 */ |
|
44 static void GetDeviceUiNameL( TDes& aNameBuf, |
|
45 const CBtDevExtension* aDevExt, |
|
46 const TDesC& aNameInParam, const TBTDevAddr& aAddr ); |
|
47 }; |
|
48 |
|
49 #endif // BTNOTIFUTIL_H |
|