equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 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: SyncML Obex client |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __NSMLOBEXSERVICESEARCHER_H__ |
|
20 #define __NSMLOBEXSERVICESEARCHER_H__ |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <e32std.h> |
|
24 #include "NSmlBTServiceSearcher.h" |
|
25 #include "NSmlObexClientConstants.h" |
|
26 |
|
27 |
|
28 class CNSmlObexServiceSearcher : public CNSmlBTServiceSearcher |
|
29 { |
|
30 public: |
|
31 |
|
32 static CNSmlObexServiceSearcher* NewL( const TBTConnInfo& aBTConnInfo ); |
|
33 |
|
34 static CNSmlObexServiceSearcher* NewLC( const TBTConnInfo& aBTConnInfo ); |
|
35 |
|
36 virtual ~CNSmlObexServiceSearcher(); |
|
37 |
|
38 /** |
|
39 * Returns the port number. |
|
40 */ |
|
41 TInt Port(); |
|
42 |
|
43 protected: |
|
44 |
|
45 const TSdpAttributeParser::TSdpAttributeList& ProtocolList() const; |
|
46 |
|
47 /** |
|
48 * Handle found element |
|
49 */ |
|
50 virtual void FoundElementL(TInt aKey, CSdpAttrValue& aValue); |
|
51 |
|
52 private: |
|
53 |
|
54 CNSmlObexServiceSearcher( const TBTConnInfo& aBTConnInfo ); |
|
55 |
|
56 void ConstructL(); |
|
57 |
|
58 private: |
|
59 |
|
60 TInt iPort; |
|
61 }; |
|
62 |
|
63 #endif // __NSMLOBEXSERVICESEARCHER_H__ |
|
64 |