This shows a typical ‘C’ class, derived from CBase, and highlights the use of two phase construction and use of the cleanup stack to implement the complete construction of an instance of that class on the heap.
Click on the following link to download the example: CClasses.zip
Click on the following link to download additional files: CommonFramework.zip.
Click browse CClasses to view the example code.
Click browse CommonFramework to view additional files.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.