要include以下兩個header檔
mproengengine.h
proengfactory.h
並且 Link ProfileEngine.lib
MProEngEngine* engine = ProEngFactory::NewEngineLC();
TInt activeId( engine->ActiveProfileId() );
如果engine->ActiveProfileId()
return回來為
0- General
1 - Silent
2 - Meeting
3 - Outdoor
4 - Pager
5 – Offline