|
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: This is the header file for the TWIMSrvStartSignal class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef WIMSIG_H |
|
21 #define WIMSIG_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 |
|
26 |
|
27 // CLASS DECLARATION |
|
28 |
|
29 /** |
|
30 * TWIMSrvStartSignal |
|
31 * |
|
32 * @since Series60 2.1 |
|
33 */ |
|
34 class TWIMSrvStartSignal |
|
35 { |
|
36 public: // Constructors and destructor |
|
37 |
|
38 /** |
|
39 * Constructor. |
|
40 */ |
|
41 inline TWIMSrvStartSignal(); |
|
42 |
|
43 /** |
|
44 * Constructor. |
|
45 */ |
|
46 inline TWIMSrvStartSignal( TRequestStatus& aStatus ); |
|
47 |
|
48 public: // New functions |
|
49 |
|
50 /** |
|
51 * Setter that is used on server.cpp: InitProcess |
|
52 * @param aCommand Command |
|
53 * @return TInt |
|
54 */ |
|
55 inline TInt Set( const TDesC& aCommand ); |
|
56 |
|
57 /** |
|
58 * Returns TPtrC which is created by using this. |
|
59 * @return TPtrC |
|
60 */ |
|
61 inline TPtrC Command() const; |
|
62 |
|
63 /** |
|
64 * Returns iStatus member variable |
|
65 * @return TRequestStatus* |
|
66 */ |
|
67 inline TRequestStatus* RequestStatus(); |
|
68 |
|
69 /** |
|
70 * Returns Threads ID |
|
71 * @return TThreadId |
|
72 */ |
|
73 inline TThreadId ThreadId(); |
|
74 |
|
75 private: |
|
76 |
|
77 /** |
|
78 * Copy constructor |
|
79 * @param aSource -Reference to class object. |
|
80 */ |
|
81 TWIMSrvStartSignal( const TWIMSrvStartSignal& aSource ); |
|
82 |
|
83 /** |
|
84 * Assigment operator |
|
85 * @param aParam -Reference to class object. |
|
86 */ |
|
87 TWIMSrvStartSignal& operator = ( const TWIMSrvStartSignal& aParam ); |
|
88 |
|
89 private: // Data |
|
90 // //Status from caller |
|
91 TRequestStatus* iStatus; |
|
92 // Thread ID |
|
93 const TThreadId iId; |
|
94 }; |
|
95 |
|
96 |
|
97 // FUNCTION PROTOTYPES |
|
98 //Imported function to start Wim server |
|
99 IMPORT_C TInt StartWimServer( TWIMSrvStartSignal& aSignal ); |
|
100 |
|
101 #include "WimSig.inl" // Inline impelementations |
|
102 |
|
103 #endif // WIMSIG_H |
|
104 |
|
105 // End of File |