CObex::TSetPathInfo Class Reference

class CObex::TSetPathInfo

Describes the information set or received in a SETPATH command.

The first bit of iFlags, 0, can be set to indicate to the receiver of SETPATH to backup a level before applying the path name. The second bit of iFlags, 1, can be set to indicate to the receiver of SETPATH to NOT create the directory if it doesn't exist. The iConstants variable is always set to zero as it is reserved. The iName variable indicates the directory to create or go to, and does not include the root directory of the receiver (i.e. if the directory to be set is C: then iName is set to "notes"). If a name is not set then set CObex::TSetPathInfo::iNamePresent to false.

Constructor & Destructor Documentation

TSetPathInfo()

IMPORT_CTSetPathInfo()

Constructor.

This is the path information used in the SETPATH command. The variable iFlags is set to zero by default. The variable iConstants is always set to zero as this is a reserved varaible. The path name is NOT present by default.

TSetPathInfo(const TObexSetPathData &)

TSetPathInfo(const TObexSetPathData &aData)

Parameters

const TObexSetPathData & aData

Member Functions Documentation

Parent()

IMPORT_C TBoolParent()const

Returns true if the flags are set so that the receiver will backup a level before applying the path name

Member Data Documentation

TUint8 iConstants

TUint8 iConstants

TUint8 iFlags

TUint8 iFlags

TBuf< KObexObjectDescriptionSize > iName

TBuf< KObexObjectDescriptionSize >iName

TBool iNamePresent

TBool iNamePresent

Whether iName is present in this SETPATH info

TUint32 iPadding1

TUint32 iPadding1[private]

TUint32 iPadding2

TUint32 iPadding2[private]