|
1 /* |
|
2 * Copyright (c) 2006 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: See class definition below. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef TCMDSETDOMAINPARAMS_H |
|
19 #define TCMDSETDOMAINPARAMS_H |
|
20 |
|
21 // INCLUDES |
|
22 #include "TCmdUNSAFTimers.h" |
|
23 |
|
24 // FORWARD DECLARATIONS |
|
25 class CRepository; |
|
26 |
|
27 // CLASS DEFINITION |
|
28 /** |
|
29 * Command for setting some domain specific UNSAF CR values |
|
30 */ |
|
31 class TCmdSetDomainParams |
|
32 : public TCmdUNSAFTimers |
|
33 { |
|
34 public: // Constructors and destructor |
|
35 |
|
36 /** |
|
37 * Constructor. |
|
38 * |
|
39 * @param aContext SIP Test case context |
|
40 */ |
|
41 TCmdSetDomainParams( MTcTestContext& aContext ) : |
|
42 TCmdUNSAFTimers( aContext ) {} |
|
43 |
|
44 public: // From TTcSIPCommandBase |
|
45 |
|
46 void ExecuteL(); |
|
47 |
|
48 public: // New methods |
|
49 |
|
50 /** |
|
51 * Static function for matching the name of this command to |
|
52 * a function identifier. |
|
53 * |
|
54 * @param aId An initialized identifier containing a function name. |
|
55 * @return ETrue if this command matches the specified name. |
|
56 */ |
|
57 static TBool Match( const TTcIdentifier& aId ); |
|
58 |
|
59 /** |
|
60 * Static fuction for creating an instance of this class |
|
61 * |
|
62 * @param aContext SIP Test case context |
|
63 * @return An initialized instance of this class. |
|
64 */ |
|
65 static TTcCommandBase* CreateL( MTcTestContext& aContext ); |
|
66 |
|
67 private: // New functions, for internal use |
|
68 }; |
|
69 |
|
70 #endif // TCMDSETDOMAINPARAMS_H |