accessoryservices/remotecontrolfw/server/inc/activehelper.h
changeset 0 4e1aa6a622a0
child 70 653a8b91b95e
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 #ifndef REMCON_ACTIVEHELPER_H
       
    22 #define REMCON_ACTIVEHELPER_H
       
    23 
       
    24 #include <e32def.h>
       
    25 #include <e32base.h>
       
    26 
       
    27 class CRemConSession;
       
    28 
       
    29 /**
       
    30 Active Helper.
       
    31 Helps with the session class's pending async connect/disconnect requests.
       
    32 */
       
    33 NONSHARABLE_CLASS(CActiveHelper) : public CActive
       
    34 	{
       
    35 public:
       
    36 	CActiveHelper(CRemConSession &aSession);
       
    37 	~CActiveHelper();
       
    38 	void Complete();
       
    39 private:
       
    40 //from CActive
       
    41 	void RunL();
       
    42 	void DoCancel();
       
    43 private:
       
    44 	CRemConSession& iSession;
       
    45 	};
       
    46 
       
    47 
       
    48 #endif //REMCON_ACTIVEHELPER_H