Friday, March 23, 2007

Symbian Class naming convensions

Naming convension for classes helps to identify the behaviour of a class
In symbian Prefixes lile T, C, M, R has been used

T Class
Built in types.
Must not have a destructor.
eg: TInt, TBool

C Classes
Derived from CBase
Objects of a C class must always be allocated on the heap.

M Classes
Abstract interface class.
It is used to define callback interfaces or observer classes.
It has no member data and no constructor.

Static Classes
Do not have a name prefix.
Member functions can be called using scope resolution operator.

No comments:


View My Stats

Click here to submit your site to the search engines for free!