--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/browserutilities/schemehandler/SchemeDispatcher/inc/MmsHandler.h Mon Mar 30 12:54:55 2009 +0300
@@ -0,0 +1,102 @@
+/*
+* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "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:
+* Declaration of Scheme handler interface implementation for mms:// scheme
+*
+*
+*/
+
+
+#ifndef MMS_HANDLER_H
+#define MMS_HANDLER_H
+
+// INCLUDES
+
+#include "BaseHandler.h"
+#include <e32base.h>
+#include <eikdoc.h>
+#include <apparc.h>
+
+// FORWARD DECLARATION
+class CAknLaunchAppService;
+
+// CLASS DECLARATION
+
+/**
+* Scheme Handler IF implementation class for mms scheme
+*/
+class CMmsHandler : public CBaseHandler,
+ public MAknServerAppExitObserver
+ {
+
+ public: // Constructors and destructor
+
+ /**
+ * Two phased constructor. Leaves on failure.
+ * @param - aUrl
+ * @return The created object.
+ */
+ static CMmsHandler* NewL( const TDesC& aUrl );
+
+ /**
+ * Destructor.
+ */
+ virtual ~CMmsHandler();
+
+ private: // Constructors
+
+ /**
+ * Constructor.
+ */
+ CMmsHandler();
+
+ /**
+ * Second phase constructor. Leaves on failure.
+ * @param - aUrl
+ */
+ void ConstructL( const TDesC& aUrl );
+
+ private: // Functions from base classes
+
+ /**
+ * Url Handler with embedding
+ * @param -
+ */
+ void HandleUrlEmbeddedL();
+
+ /**
+ * Url Handler without embedding
+ * @param -
+ */
+ void HandleUrlStandaloneL();
+
+ /**
+ *
+ * Implements the required behaviour when the editing of an embedded
+ * document completes.
+ *
+ * @param
+ * Indicates the state of the document.
+ */
+ void HandleServerAppExit(TInt aReason);
+
+ private: // Data
+
+ CEikDocument* iDoc; ///< Owned.
+ CAknLaunchAppService* iLaunchAppService; ///<Owned
+ TBool iSync;
+ CActiveSchedulerWait iWait;
+ };
+
+#endif /* def MMS_HANDLER_H */