|
1 /* |
|
2 * Copyright (c) 2007-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 * Name : TSipClient.h |
|
16 * Part of : SIP / SIP Client Resolver / Resolver |
|
17 * Version : SIP 6.0 |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 /** |
|
25 @internalComponent |
|
26 */ |
|
27 #ifndef TSIPCLIENT_H |
|
28 #define TSIPCLIENT_H |
|
29 |
|
30 // INCLUDES |
|
31 #include <e32std.h> |
|
32 |
|
33 // CLASS DEFINITION |
|
34 /** |
|
35 * A container for SIP client information passed |
|
36 * from SIP Client Resolver to SIP Client Resolver Server. |
|
37 */ |
|
38 class TSipClient |
|
39 { |
|
40 public: |
|
41 |
|
42 /** SIP Client Resolver plug-in types */ |
|
43 enum TPluginType |
|
44 { |
|
45 /** Plug-in implements CSIPResolvedClient */ |
|
46 EFirstGeneration=1, |
|
47 /** Plug-in implements CSIPResolvedClient2 */ |
|
48 ESecondGeneration |
|
49 }; |
|
50 |
|
51 public: // Constructors |
|
52 |
|
53 inline TSipClient( |
|
54 const TUid& aUid, |
|
55 TBool aAllowStarting, |
|
56 TBool aRomBased); |
|
57 |
|
58 public: // new functions |
|
59 |
|
60 inline const TUid& Uid() const; |
|
61 inline void SetUid( TUid aUid ); |
|
62 inline TBool AllowStarting() const; |
|
63 inline void SetAllowStarting( TBool aAllowStarting ); |
|
64 inline TBool RomBased() const; |
|
65 inline void SetRomBased( TBool aRomBased ); |
|
66 inline TUid ImplementationUid() const; |
|
67 inline void SetImplementationUid( TUid aUid ); |
|
68 inline void SetPluginType( TPluginType aPluginType ); |
|
69 inline TPluginType PluginType() const; |
|
70 |
|
71 private: // Data |
|
72 |
|
73 TUid iUid; |
|
74 TBool iAllowStarting; |
|
75 TBool iRomBased; |
|
76 TUid iImplementationUid; |
|
77 TPluginType iPluginType; |
|
78 }; |
|
79 |
|
80 #include "TSipClient.inl" |
|
81 |
|
82 #endif // TSIPCLIENT_H |
|
83 |
|
84 // End of File |