idlehomescreen/inc/extrstandbycontainerif.h
changeset 0 f72a12da539e
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 /*
       
     2 * Copyright (c) 2007-2007 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:  Define the inteface for the container of externale standby screen plug-ins
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_EXTRSTANDBYCONTAINERIF_H
       
    20 #define C_EXTRSTANDBYCONTAINERIF_H
       
    21 
       
    22 #include <e32std.h>
       
    23 #include <ecom/ecom.h>
       
    24 #include <coecntrl.h>
       
    25 
       
    26 #include "extrstandbycontainerconst.h"
       
    27 
       
    28 // Standby container interface Uid.
       
    29 const TUid KCExtrStandbyContainerIFUid = {KExtrStandbyContainerIFUid};
       
    30 
       
    31 /**
       
    32 *  It is the interface for the Active Idle.
       
    33 *
       
    34 *  @since Series 60 3.2
       
    35 */
       
    36 class CExtrStandbyContainerIF : public CCoeControl
       
    37     {
       
    38 public:
       
    39 
       
    40 // Constructors and destructor
       
    41 
       
    42         /**
       
    43         * Two-phased constructor.
       
    44         * @param aImplementationUid Implementation ID of the AI plugin
       
    45         * @param aInitData  Init data.
       
    46         * @return Pointer to the CAIContainer object.
       
    47         */
       
    48         inline static CExtrStandbyContainerIF* NewL(
       
    49             TUid aImplementationUid,
       
    50             CCoeControl *aContainer);
       
    51 
       
    52         /**
       
    53         * Destructor.
       
    54         */
       
    55         inline virtual ~CExtrStandbyContainerIF();
       
    56 
       
    57 // New functions
       
    58 
       
    59         /**
       
    60         * Start Active Idle
       
    61         */
       
    62         virtual void StartL()=0;
       
    63 
       
    64         /**
       
    65         * Sets mode for External Homescreen (Full screen or normal)
       
    66         * @param TBool, ETrue for full screen EFalse otherwise
       
    67         * @since S60 3.2
       
    68         */
       
    69         virtual void SetFullScreenMode(TBool aFullScreenMode)=0;
       
    70 
       
    71 private: // Data
       
    72 
       
    73         // ECOM framework requires this ID in object destructor
       
    74         TUid iDtor_ID_Key;
       
    75 
       
    76     };
       
    77 
       
    78     #include "extrstandbycontainerif.inl"
       
    79 
       
    80 #endif  // C_EXTRSTANDBYCONTAINERIF_H
       
    81 
       
    82 // End of File