1.1 --- a/epoc32/include/coecntss.h Wed Mar 31 12:27:01 2010 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,63 +0,0 @@
1.4 -// Copyright (c) 1997-2009 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 -// which accompanies this distribution, and is available
1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.10 -//
1.11 -// Initial Contributors:
1.12 -// Nokia Corporation - initial contribution.
1.13 -//
1.14 -// Contributors:
1.15 -//
1.16 -// Description:
1.17 -//
1.18 -
1.19 -#ifndef __COECNTSS_H__
1.20 -#define __COECNTSS_H__
1.21 -
1.22 -#include <coemain.h> // class CCoeStatic
1.23 -
1.24 -/** Holds global settings for all CCoeControls.
1.25 -
1.26 -This class is not designed for general use. It is intended to be used
1.27 -to override certain settings on a system-wide basis at startup. At present, the
1.28 -only settings it contains are
1.29 -1. To set whether or not CCoeControls take focus on
1.30 -creation. By default, a CCoeControl does take focus - this class can be used to
1.31 -change that. To use it, CCoeControlStaticSettings::SetFocusedByDefaultL() should
1.32 -be called from a "start-up" DLL to set the default once. Changing the default on
1.33 -the fly will almost certainly cause instability.
1.34 -2. To set whether the CC
1.35 -@publishedPartner This class should only be used by developers of User Interfaces for Symbian OS phones.
1.36 -@released
1.37 -*/
1.38 -class CCoeControlStaticSettings : public CCoeStatic
1.39 - {
1.40 -public:
1.41 - IMPORT_C static void SetFocusedByDefaultL(TBool aFocusedByDefault);
1.42 - IMPORT_C static TBool FocusedByDefault();
1.43 - IMPORT_C static TBool FocusedByDefault(CCoeEnv* aCoeEnv);
1.44 - IMPORT_C static void SetParentByDefaultL(TBool aParentByDefault); // deprecated
1.45 - IMPORT_C static TBool ParentByDefault(); // deprecated
1.46 - IMPORT_C static const TDesC& SystemTypeface();
1.47 - IMPORT_C static void SetSystemTypefaceL(const TDesC& aTypeface);
1.48 - IMPORT_C static void GetLogicalToPixelFontSizesL(RArray<TInt>& aLogicalToPixelSizes);
1.49 - IMPORT_C static void SetLogicalToPixelFontSizesL(const RArray<TInt>& aLogicalToPixelSizes);
1.50 - IMPORT_C static void SetOrdinalForAllViewsL(TBool aOrdinalForAllViews);
1.51 - IMPORT_C static TBool OrdinalForAllViews();
1.52 -private:
1.53 - CCoeControlStaticSettings();
1.54 - ~CCoeControlStaticSettings();
1.55 - static CCoeControlStaticSettings* Self(CCoeEnv* aCoeEnv=NULL);
1.56 -
1.57 - static CCoeControlStaticSettings* NewL();
1.58 - void ConstructL();
1.59 -private:
1.60 - TBool iFocusedByDefault;
1.61 - TBool iOrdinalForAllViews;
1.62 - TTypeface iTypeface;
1.63 - RArray<TInt> iLogicalToPixelSizes;
1.64 - };
1.65 -
1.66 -#endif // __COECNTSS_H__