The three examples show the use of ‘M’ (abstract interface) classes, the only type of multiple inheritance used on the Symbian platform.
They show how interfaces can be used to define a protocol. The interface is implemented by a protocol provider, and called by a protocol user. The user is not supposed to know anything about the provider's implementation, only about the protocol it's interested in.
Click on the following links to download the examples:
Click on the following link to download additional files: CommonFramework.zip .
Click the following links to view the example code.
Click browse CommonFramework to view the additional files.
The examples each include the two project files needed for building: bld.inf and the .mmp file.
The Symbian platform build process describes how to build these applications. They result in executables called:
\epoc32\release\<target>\<urel or udeb>\MCLASSES1.EXE .
\epoc32\release\<target>\<urel or udeb>\MCLASSES2.EXE .
\epoc32\release\<target>\<urel or udeb>\MCLASSES3.EXE .
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.