TSurfaceConfiguration Class Reference

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 &)
Inherited Functions
TSurfaceConfiguration1::GetExtent(TRect &)const
TSurfaceConfiguration1::GetSurfaceId(TSurfaceId &)const
TSurfaceConfiguration1::GetViewport(TRect &)const
TSurfaceConfiguration1::Orientation()const
TSurfaceConfiguration1::SetExtent(const TRect &)
TSurfaceConfiguration1::SetOrientation(CFbsBitGc::TGraphicsOrientation)
TSurfaceConfiguration1::SetSurfaceId(const TSurfaceId &)
TSurfaceConfiguration1::SetViewport(const TRect &)
TSurfaceConfiguration1::TSurfaceConfiguration1()
TSurfaceConfiguration1::TSurfaceConfiguration1(TInt)
TSurfaceConfiguration1::operator==(const TSurfaceConfiguration1 &)const
TSurfaceConfiguration2::Flip()const
TSurfaceConfiguration2::SetFlip(TBool)
TSurfaceConfiguration2::SupportsAllMembers()
TSurfaceConfiguration2::TSurfaceConfiguration2()
TSurfaceConfiguration2::TSurfaceConfiguration2(TInt)
TSurfaceConfiguration2::operator==(const TSurfaceConfiguration2 &)const
TSurfaceConfigurationSize::MemberAccessible(const Member &)const
TSurfaceConfigurationSize::Size()const
TSurfaceConfigurationSize::TSurfaceConfigurationSize(TInt)
TSurfaceConfigurationSize::operator==(const TSurfaceConfigurationSize &)const
Private Member Type Definitions
typedef TSurfaceConfiguration2 TBiggestConfiguration
Inherited Attributes
TSurfaceConfigurationSize::iSize

Constructor & Destructor Documentation

TSurfaceConfiguration()

TSurfaceConfiguration ( ) [inline]

TSurfaceConfiguration(const TSurfaceConfiguration &)

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.

Parameters

const TSurfaceConfiguration & aSurfaceConfiguration Config to copy

TSurfaceConfiguration(TInt)

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.

RWsSession::PreferredSurfaceConfigurationSize

Parameters

TInt aPreferredMaxSize User defined max size

Member Functions Documentation

operator=(const TSurfaceConfiguration &)

TSurfaceConfiguration operator= ( const TSurfaceConfiguration & ) [private, inline]

Parameters

const TSurfaceConfiguration &

operator==(const TSurfaceConfiguration &)

TBool operator== ( const TSurfaceConfiguration & aRhs ) const [inline]

Parameters

const TSurfaceConfiguration & aRhs

Member Type Definitions Documentation

Typedef TBiggestConfiguration

typedef TSurfaceConfiguration2 TBiggestConfiguration [private]