47 class CXcapCacheServer : public CServer2 |
47 class CXcapCacheServer : public CServer2 |
48 { |
48 { |
49 public: // Constructors and destructor |
49 public: // Constructors and destructor |
50 |
50 |
51 /** |
51 /** |
52 * Returns KErrNone |
52 * Returns the MIME type of the messages |
53 * @return TInt System wide error code |
53 * @return TPtrC8 The MIME type of the messages |
54 */ |
54 */ |
55 IMPORT_C static TInt StartThreadL(); |
55 IMPORT_C static TInt StartThread(); |
56 |
56 |
57 /** |
57 /** |
58 * A global logging function for 8 bit data. |
58 * A global logging function for 8 bit data. |
59 * @param aCommand command to be handled |
59 * @param aCommand command to be handled |
60 */ |
60 */ |
122 * @param aCommand command to be handled |
122 * @param aCommand command to be handled |
123 */ |
123 */ |
124 static TInt ConvertDesc( const TDesC8& aNumberDesc ); |
124 static TInt ConvertDesc( const TDesC8& aNumberDesc ); |
125 |
125 |
126 /** |
126 /** |
127 * A function to handle descriptor data. |
127 * A global logging function for 8 bit data. |
128 * @return Date in heap descriptor |
128 * @param aCommand command to be handled |
129 */ |
129 */ |
130 static HBufC* DateL(); |
130 static TBuf<KDateMaxSize> Date(); |
131 |
131 |
132 /** |
132 /** |
133 * A function to handle descriptor data. |
133 * A global logging function for 8 bit data. |
134 * @return Time in heap descriptor |
134 * @param aCommand command to be handled |
135 */ |
135 */ |
136 static HBufC* TimeL(); |
136 static TBuf<KDateMaxSize> Time(); |
137 |
137 |
138 /** |
138 /** |
139 * A function to handle descriptor data. |
139 * Returns the MIME type of the messages |
140 * @return Random string heap descriptor |
140 * @return TPtrC8 The MIME type of the messages |
141 */ |
141 */ |
142 static HBufC* RandomStringL(); |
142 static TBuf<KRandStringLength> RandomString(); |
143 |
143 |
144 /** |
144 /** |
145 * A function to handle descriptor data. |
145 * A global logging function for 8 bit data. |
146 * @return Date and time heap descriptor |
146 * @param aCommand command to be handled |
147 */ |
147 */ |
148 static HBufC* DateTimeL(); |
148 static TBuf<KDateTimeMaxSize> DateTime(); |
149 |
149 |
150 /** |
150 /** |
151 * A function to handle descriptor data. |
151 * A global logging function for 8 bit data. |
152 * @return Date and time heap descriptor |
152 * @param aCommand command to be handled |
153 */ |
153 */ |
154 static HBufC* DateTimeL( const TTime& aTime ); |
154 static TBuf<KDateTimeMaxSize> DateTime( const TTime& aTime ); |
155 |
155 |
156 /** |
156 /** |
157 * A function to handle descriptor data. |
157 * A global logging function for 8 bit data. |
158 * @param aCommand command to be handled |
158 * @param aCommand command to be handled |
159 */ |
159 */ |
160 static TPtr8 DescriptorCast( const TDesC8& aConstData ); |
160 static TPtr8 DescriptorCast( const TDesC8& aConstData ); |
161 |
161 |
162 private: |
162 private: |