Go to the source code of this file.
Defines | |
#define | DEF_SESSION_OPEN(x) TBool x##IsOpen |
#define | DEF_SESSION(t, x) t x; DEF_SESSION_OPEN(x) |
#define | IS_SESSION_OPEN(x) (x##IsOpen) |
#define | SET_SESSION_OPEN(x) x##IsOpen = ETrue |
#define | SET_SESSION_CLOSED(x) x##IsOpen = EFalse |
#define | SESSION_CLOSE_IF_OPEN(x) { if (IS_SESSION_OPEN(x)) { x.Close(); SET_SESSION_CLOSED(x); } } |
#define | LEAVE_IF_ERROR_OR_SET_SESSION_OPEN(x, act) { User::LeaveIfError(act); x##IsOpen = ETrue; } |
#define DEF_SESSION | ( | t, | |||
x | ) | t x; DEF_SESSION_OPEN(x) |
Definition at line 7 of file epoc-session.hpp.
#define DEF_SESSION_OPEN | ( | x | ) | TBool x##IsOpen |
Definition at line 6 of file epoc-session.hpp.
#define IS_SESSION_OPEN | ( | x | ) | (x##IsOpen) |
Definition at line 8 of file epoc-session.hpp.
Referenced by CSensor_keypress::DoCancel(), CSensor_httpurl::DoCancel(), CPositioner_gps::DoCancel(), CSensor_btprox::EnsureBtInit(), CSensor_btprox::TryBtInitL(), and CSensor_inactivity::~CSensor_inactivity().
#define LEAVE_IF_ERROR_OR_SET_SESSION_OPEN | ( | x, | |||
act | ) | { User::LeaveIfError(act); x##IsOpen = ETrue; } |
Definition at line 12 of file epoc-session.hpp.
Referenced by CRetryAo::ConstructL(), CCl2WebFilter::ConstructL(), CSensor_httpurl::ConstructL(), CPosModuleStatAo::ConstructL(), CSensor_btprox::ConstructL(), CSensor_appfocus::ConstructL(), CMyWindowGroup::ConstructL(), CFileDataSupplier::OpenL(), CActiveRetry::TimerConstructL(), and CSensor_btprox::TryBtInitL().
#define SESSION_CLOSE_IF_OPEN | ( | x | ) | { if (IS_SESSION_OPEN(x)) { x.Close(); SET_SESSION_CLOSED(x); } } |
Definition at line 11 of file epoc-session.hpp.
Referenced by CSensor_btprox::BtClose(), CFileDataSupplier::Close(), CFileDataSupplier::CloseFile(), CPosterAo::PostGenericL(), CActiveRetry::~CActiveRetry(), CAppContextImpl::~CAppContextImpl(), CCl2WebFilter::~CCl2WebFilter(), CDiskObserver::~CDiskObserver(), CMyWindowGroup::~CMyWindowGroup(), CPositioner_gps::~CPositioner_gps(), CPosModuleStatAo::~CPosModuleStatAo(), CPosterAo::~CPosterAo(), CRetryAo::~CRetryAo(), CSensor_appfocus::~CSensor_appfocus(), CSensor_btprox::~CSensor_btprox(), CSensor_httpurl::~CSensor_httpurl(), CSensor_indicator::~CSensor_indicator(), CSensor_keypress::~CSensor_keypress(), and CSmsTrigger::~CSmsTrigger().
#define SET_SESSION_CLOSED | ( | x | ) | x##IsOpen = EFalse |
Definition at line 10 of file epoc-session.hpp.
#define SET_SESSION_OPEN | ( | x | ) | x##IsOpen = ETrue |
Definition at line 9 of file epoc-session.hpp.
Referenced by CSensor_keypress::ConstructL(), and CPosterAo::PostGenericL().
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:58 2011 by Doxygen 1.6.1