epoc32/include/mw/aknappui.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/mw/aknappui.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/mw/aknappui.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -2,9 +2,9 @@
     1.4  * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies).
     1.5  * All rights reserved.
     1.6  * This component and the accompanying materials are made available
     1.7 -* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9  * which accompanies this distribution, and is available
    1.10 -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12  *
    1.13  * Initial Contributors:
    1.14  * Nokia Corporation - initial contribution.
    1.15 @@ -20,11 +20,11 @@
    1.16  
    1.17  //  INCLUDES
    1.18  #include <eikappui.h>
    1.19 -#include <Eikspane.h>
    1.20 +#include <eikspane.h>
    1.21  #include <eikcba.h>
    1.22  #include <avkon.hrh>
    1.23 -#include <akndef.h>
    1.24 -#include <AknTouchPaneObserver.h>
    1.25 +#include <AknDef.h>
    1.26 +#include <akntouchpaneobserver.h>
    1.27  
    1.28  // FORWARD DECLARATIONS
    1.29  class CEikButtonGroupContainer;
    1.30 @@ -98,7 +98,14 @@
    1.31           *
    1.32           * @since S60 5.0
    1.33           */
    1.34 -        EAknTouchCompatibleFlag                 = 0x00800000
    1.35 +        EAknTouchCompatibleFlag                 = 0x00800000,
    1.36 +
    1.37 +        /**
    1.38 +         * Application supports single click.
    1.39 +         *
    1.40 +         * @since S60 5.2
    1.41 +         */
    1.42 +        EAknSingleClickCompatibleFlag           = 0x01000000
    1.43          };
    1.44  
    1.45      public:
    1.46 @@ -160,7 +167,9 @@
    1.47          // Since 3.2
    1.48          EAknExplicitStartupEffectCompletion = EAknExplicitStartupEffectCompletionFlag,
    1.49          // Since 5.0
    1.50 -        EAknTouchCompatible = EAknTouchCompatibleFlag
    1.51 +        EAknTouchCompatible = EAknTouchCompatibleFlag,
    1.52 +        // Since 5.2
    1.53 +        EAknSingleClickCompatible = EAknSingleClickCompatibleFlag
    1.54          };
    1.55      enum TKeyEventFlag
    1.56          {
    1.57 @@ -440,7 +449,16 @@
    1.58      * @return ETrue if the application is touch compatible
    1.59      */
    1.60      IMPORT_C TBool IsTouchCompatible() const;
    1.61 -    
    1.62 +
    1.63 +    /**
    1.64 +     * Checks if the application is single click compatible i.e.
    1.65 +     * it has been constructed with the flag EAknSingleClickCompatible.
    1.66 +     *
    1.67 +     * @since S60 v5.0
    1.68 +     * @return ETrue if the application is single click compatible
    1.69 +     */
    1.70 +    IMPORT_C TBool IsSingleClickCompatible() const;
    1.71 +
    1.72  protected: // From CCoeAppUiBase
    1.73      /**
    1.74      * From @c CCoeAppUiBase.