Go to the source code of this file.
Defines | |
#define | WITH_CLEANUP_STACK(_task) |
#define | WITH_ACTIVE_SCHEDULER(_task) |
#define | WITH_CLEANUP_STACK_ERR(_errCode, _task) |
#define | WITH_ACTIVE_SCHEDULER_ERR(_errCode, _task) |
#define | CleanupOpPushL(op, ptr) CleanupStack::PushL(TCleanupItem(reinterpret_cast<TCleanupOperation>(op), ptr)) |
#define CleanupOpPushL | ( | op, | |||
ptr | ) | CleanupStack::PushL(TCleanupItem(reinterpret_cast<TCleanupOperation>(op), ptr)) |
Definition at line 56 of file epoc-utilities.hpp.
#define WITH_ACTIVE_SCHEDULER | ( | _task | ) |
{ \ CActiveScheduler* scheduler = new CActiveScheduler; \ if (!scheduler) return KErrNoMemory; \ CActiveScheduler::Install(scheduler); \ { _task ; } \ delete scheduler; \ }
Definition at line 25 of file epoc-utilities.hpp.
Referenced by E32Main().
#define WITH_ACTIVE_SCHEDULER_ERR | ( | _errCode, | |||
_task | ) |
{ \ CActiveScheduler* _scheduler = new CActiveScheduler; \ if (_scheduler) { \ CActiveScheduler::Install(_scheduler); \ { _task ; } \ delete _scheduler; \ } else { \ _errCode = KErrNoMemory; \ } \ }
Definition at line 41 of file epoc-utilities.hpp.
Referenced by E32Main().
#define WITH_CLEANUP_STACK | ( | _task | ) |
{ \ CTrapCleanup* cleanup = CTrapCleanup::New(); \ if (!cleanup) return KErrNoMemory; \ { _task ; } \ delete cleanup; \ }
Definition at line 15 of file epoc-utilities.hpp.
Referenced by E32Main().
#define WITH_CLEANUP_STACK_ERR | ( | _errCode, | |||
_task | ) |
{ \ CTrapCleanup* _cleanup = CTrapCleanup::New(); \ if (_cleanup) { { _task ; } delete _cleanup; } \ else { _errCode = KErrNoMemory; } \ }
Definition at line 34 of file epoc-utilities.hpp.
Referenced by E32Main().
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:58 2011 by Doxygen 1.6.1