idlefw/inc/idleint/aiidleappregister.h
changeset 0 79c6a41cd166
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     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:  Idle application registration interface.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_AIIDLEAPPREGISTER_H
       
    20 #define C_AIIDLEAPPREGISTER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 /**
       
    25  * @ingroup group_aiidleint
       
    26  *
       
    27  * Idle application registration interface.
       
    28  */
       
    29 class CAiIdleAppRegister : public CBase
       
    30     {
       
    31 
       
    32 public:
       
    33 
       
    34     IMPORT_C static CAiIdleAppRegister* NewLC();
       
    35 
       
    36     ~CAiIdleAppRegister() { }
       
    37 
       
    38     /**
       
    39      * Registers Active Idle as the system idle application.
       
    40      */
       
    41     virtual void RegisterL() = 0;
       
    42     };
       
    43 
       
    44 
       
    45 #endif // C_AIIDLEAPPREGISTER_H
       
    46