EPOC   SDK Home Glossary Indexes Previous Next Up

MBasicGsmPhoneId class


Contents


MBasicGsmPhoneId class — Protocol for phone identification information

Section Contents


Overview

Derivation

MBasicGsmPhoneId

Mixin: interface for accessing phone identification information.

Defined in

etelbgsm.h

Link against

gsmbas.lib

Description

This class defines the protocol for accessing phone identification information.


Construction and destruction


MBasicGsmPhoneId() — Protected default C++ constructor

protected: MBasicGsmPhoneId()

Description

The default C++ constructor is protected, which prevents objects of this class from being constructed. This class is intended only as an abstract base for other classes.


Phone identification functions


GetGsmPhoneId() — Get GSM phone identification

virtual TInt GetGsmPhoneId(TId& aId) const=0;

Description

This function retrieves the GSM phone identification information

Arguments

TId& aId

On return, contains the identity of the phone.

Return value

TInt

An error code: see System error codes.

Notes:

Enumerations


Anonymous enum — Phone information buffer sizes

KPhoneManufacturerIdSize

Manufacturer’s ID buffer size.

KPhoneModelIdSize

Phone model ID buffer size.

KPhoneRevisionIdSize

Phone revision ID buffer size.

KPhoneSerialNumberSize

Phone serial number ID buffer size.


Struct


TId struct — Phone identification information

TBuf8<KPhoneManufacturerIdSize> iManufacturerId

Phone manufacturer identification.

TBuf8<KPhoneModelIdSize> iModelId

Phone model identification.

TBuf8<KPhoneRevisionIdSize> iRevisionId

Phone revision identification.

TBuf8<KPhoneSerialNumberSize> iSerialNumber

Phone serial number.

EPOC       SDK Home Glossary Indexes Previous Next Up