uifw/AvKon/akncompamode/inc/akncompaifimpl.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 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:  Compa-mode interface ecom implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __AKNCOMPAIFIMPL_H__
       
    20 #define __AKNCOMPAIFIMPL_H__
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 #include "akncompaif.h"
       
    25 
       
    26 class CCoeEnv;
       
    27 class CAknAppUiBase;
       
    28 class CAknCompaKb;
       
    29 class CAknCompaClearer;
       
    30 class CRepository;
       
    31 
       
    32 /**
       
    33  * Compa-mode ECOM interface implementation
       
    34  *
       
    35  * @lib compamode.lib
       
    36  * @since S60 v5.0
       
    37  */
       
    38 NONSHARABLE_CLASS(CAknCompaIfImpl) : public CAknCompaIf
       
    39     {
       
    40 public: // constructors and destructor
       
    41 
       
    42     static CAknCompaIfImpl* NewL();
       
    43 
       
    44     ~CAknCompaIfImpl();
       
    45 
       
    46 public: // from CAknCompaIf
       
    47 
       
    48     TInt SetCompaAppScreenModeL(TBool& aScrModeChanged, TBool& aIsConsoleApp,
       
    49         TInt aAppUiFlags, CAknAppUiBase& aAppUi, const CCoeEnv& aCoeEnv,
       
    50         CRepository& aRepository);
       
    51 
       
    52     void CreateKbL(TInt aCompaScreenMode, TBool aMakeVisible);
       
    53 
       
    54     TInt IsForeground();
       
    55 
       
    56     TInt FindCompaScreenMode();
       
    57 
       
    58     void DisableTransEffects(TBool aDisable);
       
    59 
       
    60 private: // data
       
    61 
       
    62     CAknCompaKb* iCompaKb;
       
    63     CAknCompaClearer* iClearer;
       
    64     };
       
    65 
       
    66 #endif // __AKNCOMPAIFIMPL_H__