diff -r 000000000000 -r 1bce908db942 multimediacommsengine/mmcecli/inc/mce.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/multimediacommsengine/mmcecli/inc/mce.h Tue Feb 02 01:04:58 2010 +0200 @@ -0,0 +1,60 @@ +/* +* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + + + + +#ifndef RMCE_H +#define RMCE_H + +#include +#include "mceitc.h" + + +class RMce : public RSessionBase, public MMceItc + { +public: // Constructor + + RMce(); + +public: // From MSIPITC + + TInt Send (TMceItcFunctions aFunction, TIpcArgs& aArgs); + void Receive (TIpcArgs& aArgs, TRequestStatus& aStatus); + TInt Receive (TIpcArgs& aArgs, TPtr8 aContext, TPtr8 aContent ); + void CancelReceive ( TIpcArgs& aArgs ); + +public: // New functions + + TInt Connect (const TUid& aUid); + TInt Connect (); + void Close (); + TVersion Version () const; + + TInt SendClientUid (const TUid& aUid) const; + +private: + void Panic (TInt aReason) const; + + TBool iConnected; + + }; + +#endif // end of RMCE_H + +// End of File