diff -r b220a9341636 -r fe9d1bf55678 devsound/a3fdevsound/src/mmfaudioserver/mmfaudioserver.h --- a/devsound/a3fdevsound/src/mmfaudioserver/mmfaudioserver.h Tue Nov 02 12:13:59 2010 +0000 +++ b/devsound/a3fdevsound/src/mmfaudioserver/mmfaudioserver.h Tue Nov 02 12:28:51 2010 +0000 @@ -59,13 +59,14 @@ class CMMFAudioServer : public CMmfIpcServer, public MGlobalProperties { public: - + /** - Constructs, and returns a pointer to, a new CMMFAudioServer - object. - @return CMMFAudioServer* A pointer to newly created object. - */ - static CMMFAudioServer* NewL(); + Constructs, and returns a pointer to, a new CMMFAudioServer + object. + @param aStayOpen whether or not the server should stay open permanently + @return CMMFAudioServer* A pointer to newly created object. + */ + static CMMFAudioServer* NewL(TBool aStayOpen); /** Destructor. @@ -167,14 +168,12 @@ void ConstructL(); RTimer iShutDownTimer; + }; private: - - //Default constructor. - - CMMFAudioServer(); + CMMFAudioServer(TBool aStayOpen); //Second phase constructor. @@ -194,6 +193,8 @@ mutable RPointerArray iDevSoundServList; CMMFAudioServerFactory* iFactory; + //if the server is to stay open permanently + TBool iStayOpen; }; /**