presadap12/impsplugin/inc/cimpspluginloginrequest.h
branchRCL_3
changeset 13 a941bc465d9f
parent 0 094583676ce7
equal deleted inserted replaced
12:6ca72c0fe49a 13:a941bc465d9f
       
     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:  IMPS Protocol implementation for Presence Framework
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __CIMPSPLUGINLOGINREQUEST_H__
       
    20 #define __CIMPSPLUGINLOGINREQUEST_H__
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <ximpbase.h>
       
    25 #include "impsdebugprint.h"
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class MImpsPrtPluginConnectionManager;
       
    29 
       
    30 
       
    31 /**
       
    32  * CImpsPluginLoginRequest
       
    33  *
       
    34  * Issue Login Request to the Network Server
       
    35  *
       
    36  * @lib ?library
       
    37  * @since S60 v4.0
       
    38  */
       
    39 NONSHARABLE_CLASS(  CImpsPluginLoginRequest ) : public CActive
       
    40 
       
    41 
       
    42     {
       
    43 
       
    44 public:
       
    45 
       
    46     static CImpsPluginLoginRequest* NewLC( MImpsPrtPluginConnectionManager& aConnMan,
       
    47     TXIMPRequestId aRequestId );
       
    48 
       
    49     static CImpsPluginLoginRequest* NewL( MImpsPrtPluginConnectionManager& aConnMan,
       
    50                                           TXIMPRequestId aRequestId );
       
    51     virtual ~CImpsPluginLoginRequest();
       
    52 
       
    53 
       
    54 private:
       
    55 
       
    56     CImpsPluginLoginRequest( MImpsPrtPluginConnectionManager& aConnMan,
       
    57                              TXIMPRequestId aRequestId  );
       
    58     void ConstructL();
       
    59 
       
    60 
       
    61 private: // from CActive
       
    62 
       
    63     void DoCancel();
       
    64     void RunL();
       
    65     TInt RunError( TInt aError );
       
    66 
       
    67 public:
       
    68 
       
    69     void IssueLoginRequestL();
       
    70 
       
    71 private: // data
       
    72 
       
    73     /**
       
    74      * Request Id
       
    75      */
       
    76 
       
    77     TXIMPRequestId iRequestId;
       
    78 
       
    79     /**
       
    80      * ?description_of_pointer_member
       
    81      * Own.  *** Write "Own" if this class owns the object pointed to; in
       
    82                  other words, if this class is responsible for deleting it.
       
    83      */
       
    84 
       
    85 
       
    86     /**
       
    87      * Imps Protocol Plugin Connection Manager
       
    88      * Not own.  *** Write "Not own" if some other class owns this object.
       
    89      */
       
    90     MImpsPrtPluginConnectionManager& iConnMan;
       
    91     };
       
    92 
       
    93 
       
    94 #endif // __CIMPSPLUGINLOGINREQUEST_H__
       
    95