inc/muscommon.h
changeset 22 496ad160a278
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/muscommon.h	Fri Jun 11 13:36:18 2010 +0300
@@ -0,0 +1,66 @@
+/*
+* Copyright (c) 2006 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:  ?Description
+*
+*/
+
+
+
+#ifndef MUSCOMMON_H
+#define MUSCOMMON_H
+
+#include <e32std.h>
+#include <e32cmn.h>
+
+namespace Mus
+    {
+    // sip uids for client resolver cooperation
+    // for invitations
+    const TUid KAllowedSipInvite = { 0x1002000 };
+    const TUid KNotAllowedSipInvite = { 0x1002001 };
+        
+    // for options
+    const TUid KSipOptions = { 0x1002002 };
+    
+    // resource availability
+    enum TMusResourceAvailability
+        {
+        EMusAvailable,          // resource available
+        EMusNotAvailable        // resource not available
+        };
+    
+    // multimediasharing environmental error codes
+    enum TMusError
+        {
+        ENoActiveCall = 1,      // no active call -> sharing not possible, error
+        EConferenceCall,        // current call is a conf call -> error
+        ECallInHold,            // current call is on hold -> error
+        ENoNetwork,             // there's no packet network -> error
+        ERoamingNetwork,        // sharing not allowed when roaming -> error
+        ENoSipProfile,          // there's no sip profile -> error
+        ESipRegistrationFailed, // sip registration failed -> error
+        ESipOptionsFailed       // sip options revealed that the remote host is 
+                                // not capable of video sharing -> error
+        };
+    
+    // values for application startup behavior (have same effect as command
+    // enumerations of CApaCommandLine)
+    const TUint KMusCommandLetterRun = 'R';
+    const TUint KMusCommandLetterBackground = 'B';
+    
+    }
+
+#endif // MUSMANAGERCOMMON_H
+
+// End of File