calendarui/server/CalenSvr/inc/CalSvrScheduler.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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:   Implements the active Scheduler for calendar server thread.
       
    15 *                Manages all the active objects used calendar server.
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CALSVRSCHEDULER_H
       
    21 #define CALSVRSCHEDULER_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CCalenServer;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 NONSHARABLE_CLASS( CCalSvrScheduler ) : public CActiveScheduler
       
    31     {
       
    32 public:
       
    33     static TInt ThreadStart(void);
       
    34     static void CreateAndRunServerL(void);
       
    35     ~CCalSvrScheduler();
       
    36     void Error(TInt aError) const; // from CActiveScheduler
       
    37 
       
    38 private:
       
    39     CCalenServer* iServer;
       
    40 
       
    41     };
       
    42 
       
    43 #endif // CALSVRSCHEDULER_H
       
    44 
       
    45 
       
    46 // End of File