remotestoragefw/remotefileengine/inc/rsfwrfemessagerequest.h
branchRCL_3
changeset 15 88ee4cf65e19
parent 12 87c71b25c937
child 16 1aa8c82cb4cb
equal deleted inserted replaced
12:87c71b25c937 15:88ee4cf65e19
     1 /*
       
     2 * Copyright (c) 2005-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:  A request sent by a client (i.e. non-internal request)
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef C_RSFWRFEMESSAGEREQUEST_H
       
    19 #define C_RSFWRFEMESSAGEREQUEST_H
       
    20 
       
    21 #include "rsfwrferequest.h"
       
    22 
       
    23 class CRsfwRfeSession;
       
    24 
       
    25 
       
    26 /**
       
    27  *  A request sent by a client (i.e. non-internal request)
       
    28  *
       
    29  *  In practise from Remote file-system plugin
       
    30  *
       
    31  */
       
    32 class CRsfwRfeMessageRequest : public CRsfwRfeRequest
       
    33     {
       
    34 public:
       
    35     CRsfwRfeMessageRequest();
       
    36     void SetL(const RMessage2& aMessage,CRsfwRfeSession* aSession);
       
    37     const RMessage2& Message();
       
    38     CRsfwRfeSession* Session();
       
    39     void SetSession(CRsfwRfeSession* aSession);
       
    40     //
       
    41     void Complete(TInt aError);
       
    42     void CompleteAndDestroy(TInt aError);
       
    43 private:
       
    44     void Destroy();    
       
    45 public:
       
    46     TBool iMessageCompleted;
       
    47 
       
    48 protected:
       
    49     RMessage2 iMessage;
       
    50     CRsfwRfeSession* iSession;
       
    51     };
       
    52 
       
    53 #endif