epoc32/include/mw/eikccpu.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /*
     1 /*
     2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * 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
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8 *
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
   204      * @param aCommandId ID of the command to respond to.
   204      * @param aCommandId ID of the command to respond to.
   205      */
   205      */
   206 	IMPORT_C void ProcessCommandL(TInt aCommandId);
   206 	IMPORT_C void ProcessCommandL(TInt aCommandId);
   207 
   207 
   208 private:
   208 private:
   209 	void UpdateCBALabelsL();
   209     void UpdateCBALabelsL();
   210 	TBool UpdateCBALabelL(TInt aPosition, TInt aCommandId, TInt aTextResId);
   210     TBool UpdateCBALabelL(TInt aPosition, TInt aCommandId, TInt aTextResId);
   211 	void SetEmphasis(CCoeControl* aMenuControl,TBool aEmphasis);
   211     void SetEmphasis(CCoeControl* aMenuControl,TBool aEmphasis);
       
   212     void DeleteCBAL();
   212 
   213 
   213 private:
   214 private:
   214     /**
   215     /**
   215     * From CAknControl
   216     * From CAknControl
   216     */
   217     */
   217     IMPORT_C void* ExtensionInterface( TUid aInterface );
   218     IMPORT_C void* ExtensionInterface( TUid aInterface );
   218 private:
   219 private:
   219 	TBitFlags iFlags;
   220     TBitFlags iFlags;
   220 
   221     TBool isCbaEmded;
   221 	// Owned
   222     // Owned
   222 	CEikButtonGroupContainer* iCba;
   223     CEikButtonGroupContainer* iCba;
       
   224     
   223 
   225 
   224 	// Not owned
   226 	// Not owned
   225 	CEikMenuBar* iMenu;
   227 	CEikMenuBar* iMenu;
   226 	MEikCcpuEditor* iEditor;
   228 	MEikCcpuEditor* iEditor;
       
   229 	CEikButtonGroupContainer* iDialogCba;
   227 	};
   230 	};
   228 
   231 
   229 #endif // EIKCCPU_H
   232 #endif // EIKCCPU_H