Symbian
Symbian OS Library

FAQ-0952 Where can I find etelmm.h?

[Index][spacer] [Previous] [Next]



 

Classification: C++ Category: Development
Created: 11/18/2003 Modified: 02/18/2004
Number: FAQ-0952
Platform: Symbian OS v7.0, Symbian OS v7.0s

Question:
I am working with the public SMS APIs documented in the Symbian Developer Library on a UIQ 2.x SDK. But when I try to build my code, the compiler complains that it needs etelmm.h. Where can I obtain this file?

Answer:
The file etelmm.h is part of the ETel multi-mode API which is not public in Symbian OS v7.0 or v7.0s. For this reason it is not distributed with SDKs.

    However the following header files, which export a public API, all #include etelmm.h.
    • Gsmuelem.h
    • gsmuetel.h
    • Gsmumsg.h
    • phbksync.h
    • smsuaddr.h
    • smutset.h
    • Wapp.h
    • dbaccess.h

    This is in general because the classes defined in these files make use of some variables and classes defined in etelmm.h. In order to render the above header files usable, a cut-down version of etelmm.h is attached below, which allows consistent compilation of 3rd party code against them, while excluding non-public APIs.

    One caveat to the use of this work around is that the method
    void CSmsMessage::AddSlotL(const TGsmSmsSlot& aSlot);
    is not available for use with this cut-down version of etelmm.h.