Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: coeutils.h
Link against: cone.lib

Class ConeUtils

ConeUtils

Support

Supported from 5.0

Description

UI Control Framework utility functions.

Defined in ConeUtils:
EnsurePathExistsL(), FileExists()


Member functions


EnsurePathExistsL()

static void EnsurePathExistsL(const TPtrC& aFileName);

Description

Ensures a path exists.

This function tests whether the path for the file given by aFileName exists, and creates it if it doesn’t. The function does nothing if the path name already exists.

Parameters

const TPtrC& aFileName

The full path name to create. The file name is ignored and may be omitted.

See also:


FileExists()

static TBool FileExists(const TDesC& aFileName);

Description

Tests whether a file exists.

Parameters

const TDesC& aFileName

The file name to check.

Return value

TBool

ETrue if the file exists, EFalse if it doesn’t exist.

See also: