equal
deleted
inserted
replaced
1 /** |
|
2 * Copyright (c) 2010 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: CUpnpIconFileServeTransaction class declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __UPNPICONFILESERVETRANSACTION_H_ |
|
19 #define __UPNPICONFILESERVETRANSACTION_H_ |
|
20 |
|
21 #include <upnphttpservertransaction.h> |
|
22 |
|
23 /** |
|
24 * Class derives from CUpnpHttpServerTransaction base class. It sets the actual filepath |
|
25 * which have to be served for http-get request |
|
26 */ |
|
27 class CUpnpIconFileServeTransaction: public CUpnpHttpServerTransaction |
|
28 { |
|
29 public: |
|
30 ~CUpnpIconFileServeTransaction(); |
|
31 |
|
32 static CUpnpIconFileServeTransaction* NewL( const TDesC& aOutFilePath, RFs& aIconSession ); |
|
33 |
|
34 public: |
|
35 virtual void OnCallbackL( TUpnpHttpServerEvent aEvent ); |
|
36 |
|
37 protected: |
|
38 CUpnpIconFileServeTransaction( RFs& aIconSession ); |
|
39 void ConstructL( const TDesC& aOutFilePath ); |
|
40 |
|
41 private: |
|
42 void DoCallbackL( TUpnpHttpServerEvent aEvent ); |
|
43 |
|
44 private: |
|
45 RBuf iOutFilePath; |
|
46 RFs& iIconFileSession ; |
|
47 }; |
|
48 |
|
49 #endif // __UPNPICONFILESERVETRANSACTION_H__ |
|