M class

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Created: tote_b5 (22 Mar 2007)
Last edited: hamishwillee (25 Jul 2012)

M classes define abstract protocols, or interfaces. Concrete implementations of an interface defined by an M class are provided by derived protocol provider classes.

M classes have the following restrictions:

  • They should contain no member data
  • They should not contain constructors or destructors, or overloaded operators such as =.

M classes often contain pure virtual functions that define a fully abstract interface. Some M classes implement some or all member functions, though within the restrictions given above.

M classes are the only use of multiple inheritance in Symbian OS.

See Also

This page was last modified on 25 July 2012, at 23:00.
55 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.