diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-96C7CBD4-4B25-5AA1-A54F-1764B54FDC7E.dita --- a/Symbian3/PDK/Source/GUID-96C7CBD4-4B25-5AA1-A54F-1764B54FDC7E.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-96C7CBD4-4B25-5AA1-A54F-1764B54FDC7E.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,34 +1,34 @@ - - - - - -How -to write a derived class with two-phase constructionThis document illustrates how to implement two-phase construction -in a derived class with example code. -

When writing a derived class, you must use the derived class ConstructL() to -call the correct base class ConstructL().

-

Call the base class ConstructL() before the derived-class -specific construction starts. This mirrors the action of C++ constructors.

-class CCompoundDerived : public CCompound - { -public: - ... -protected: - ... - void ConstructL(); -private: - ... - }; -void CCompoundDerived::ConstructL() - { - this->CCompound::ConstructL(); - // own construction - } + + + + + +How +to write a derived class with two-phase constructionThis document illustrates how to implement two-phase construction +in a derived class with example code. +

When writing a derived class, you must use the derived class ConstructL() to +call the correct base class ConstructL().

+

Call the base class ConstructL() before the derived-class +specific construction starts. This mirrors the action of C++ constructors.

+class CCompoundDerived : public CCompound + { +public: + ... +protected: + ... + void ConstructL(); +private: + ... + }; +void CCompoundDerived::ConstructL() + { + this->CCompound::ConstructL(); + // own construction + }
\ No newline at end of file