#include <mw/obexbase.h>
class CObex::TSetPathInfo |
Public Attributes | |
---|---|
TUint8 | iConstants |
TUint8 | iFlags |
TBuf< KObexObjectDescriptionSize > | iName |
TBool | iNamePresent |
Public Member Functions | |
---|---|
TSetPathInfo() | |
TSetPathInfo(const TObexSetPathData &) | |
IMPORT_C TBool | Parent() |
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.
IMPORT_C | TSetPathInfo | ( | ) |
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.
IMPORT_C TBool | Parent | ( | ) | const |
Returns true if the flags are set so that the receiver will backup a level before applying the path name
Returns: ETrue if the flags are set so that the receiver will backup a level before applying the path name othewise EFalse.