diff -r 000000000000 -r 72b543305e3a messagingappbase/schemeplugin/inc/SmsHandler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingappbase/schemeplugin/inc/SmsHandler.h Thu Dec 17 08:44:11 2009 +0200 @@ -0,0 +1,147 @@ +/* +* Copyright (c) 2004 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: +* Declaration of Scheme handler interface implementation +* for "sms:"scheme +* +*/ + + + +#ifndef SMS_HANDLER_H +#define SMS_HANDLER_H + +// INCLUDES + +#include "BaseHandler.h" +#include +#include +#include + + +// FORWARD DECLARATION +class CSendUi; + +// CLASS DECLARATION + +/** +* Scheme Handler IF implementation class for sms uri scheme +* @since Series60_2.6 +*/ +class CSmsHandler : public CBaseHandler + { + + public: // Constructors and destructor + + /** + * Two phased constructor. Leaves on failure. + * @param - aUrl + * @return The created object. + */ + static CSmsHandler* NewL( const TDesC& aUrl ); + + /** + * Destructor. + */ + virtual ~CSmsHandler(); + + /** + * Url Handler with embedding + * @param - + */ + void HandleUrlEmbeddedL(); + + /** + * Url Handler without embedding + * @param - + */ + void HandleUrlStandaloneL(); + + private: // Constructors + + enum TSchemeSmsFields //