convergedconnectionhandler/cchserver/inc/cchactivescheduler.h
branchRCL_3
changeset 22 d38647835c2e
parent 0 a4daefaec16c
equal deleted inserted replaced
21:f742655b05bf 22:d38647835c2e
       
     1 /*
       
     2 * Copyright (c) 2009 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:  CCchActiveScheduler declaration
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef C_CCHACTIVESCHEDULER_H
       
    19 #define C_CCHACTIVESCHEDULER_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 // CONSTANTS
       
    25 // None
       
    26 
       
    27 // MACROS
       
    28 // None
       
    29 
       
    30 // DATA TYPES
       
    31 // None
       
    32 
       
    33 // FUNCTION PROTOTYPES
       
    34 // None
       
    35 
       
    36 // FORWARD DECLARATIONS
       
    37 class CCCHServerBase;
       
    38 
       
    39 /**
       
    40  * Class provides active scheduler for CCH server
       
    41  *  @lib cchserver.exe
       
    42  *  @since S60 3.2
       
    43  */
       
    44 class CCchActiveScheduler : public CActiveScheduler
       
    45     {
       
    46 
       
    47 public:
       
    48 
       
    49     /**
       
    50      * Default constructor
       
    51      */
       
    52     CCchActiveScheduler();
       
    53 
       
    54     /**
       
    55      * Destructor
       
    56      */
       
    57     ~CCchActiveScheduler();
       
    58     
       
    59 public:
       
    60     
       
    61     /**
       
    62      * Server setter
       
    63      * @param aServer pointer to server
       
    64      */
       
    65     void SetServer( CCCHServerBase* aServer );
       
    66     
       
    67 public: 
       
    68 
       
    69     /**
       
    70      * Error occurred while scheduling
       
    71      * @param aError error code
       
    72      */
       
    73     void Error( TInt aError ) const;
       
    74     
       
    75 private:
       
    76     
       
    77     /**
       
    78      * Server handle
       
    79      */
       
    80     CCCHServerBase* iServer;
       
    81     };
       
    82 
       
    83 #endif // C_CCHACTIVESCHEDULER_H
       
    84 
       
    85 // End of file