class TSurfaceConfiguration : public TSurfaceConfiguration2 |
TSurfaceConfiguration is provided as a chain of derived classes representing the growing history of the class.
Public Member Functions | |
---|---|
TSurfaceConfiguration() | |
TSurfaceConfiguration(const TSurfaceConfiguration &) | |
TSurfaceConfiguration(TInt) | |
TBool | operator==(const TSurfaceConfiguration &) |
Private Member Functions | |
---|---|
TSurfaceConfiguration | operator=(const TSurfaceConfiguration &) |
Private Member Type Definitions | |
---|---|
typedef | TSurfaceConfiguration2 TBiggestConfiguration |
Inherited Attributes | |
---|---|
TSurfaceConfigurationSize::iSize |
TSurfaceConfiguration | ( | const TSurfaceConfiguration & | aSurfaceConfiguration | ) | [inline] |
Copy constructor. This constructor will read the size field of the source and target objects and only copy the minimum set of fields indicated. Any remaining fields in the target object will be set to default values.
const TSurfaceConfiguration & aSurfaceConfiguration | Config to copy |
TSurfaceConfiguration | ( | TInt | aPreferredMaxSize | ) | [inline] |
This constructor will take any value, but it is designed to be used with a value returned by RWsSession::PreferredSurfaceConfigurationSize, and initializes the members to represent an object compatible with that.
If the aPreferredMaxSize is larger than the actual size of TSurfaceConfiguration, indicating that the server supports a newer version of the interface than the caller is aware of, then the actual size is used.
If the aPreferredMaxSize is smaller than the actual size of TSurfaceConfiguration, indicating that the server supports an earlier version of the interface, then this value is used. It must match the Size() member of one of the defined hierarchy of TSurfaceConfiguration classes.
TInt aPreferredMaxSize | User defined max size |
TSurfaceConfiguration | operator= | ( | const TSurfaceConfiguration & | ) | [private, inline] |
const TSurfaceConfiguration & |
TBool | operator== | ( | const TSurfaceConfiguration & | aRhs | ) | const [inline] |
const TSurfaceConfiguration & aRhs |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.