diff -r 786160610b4d -r afcd8e6d025b browsercore/core/network/SchemeHandlerBr.h --- a/browsercore/core/network/SchemeHandlerBr.h Wed Sep 01 13:56:21 2010 -0400 +++ b/browsercore/core/network/SchemeHandlerBr.h Fri Sep 17 12:11:40 2010 -0400 @@ -25,20 +25,14 @@ // INCLUDES #include -#if defined(Q_OS_SYMBIAN) -#include // CRichText -#endif // CLASS DECLARATION class QUrl; -#if defined(Q_OS_SYMBIAN) -class WrtTelService; -#endif - namespace WRT { +class SchemeHandlerPrivate; /** * Scheme Handler IF definition class @@ -48,28 +42,21 @@ Q_OBJECT public: + enum SchemeHandlerError { + NoError, // Success + SchemeNotHandled, // http(s) and file schemes to be handled elsewhere + SchemeUnsupported, // scheme not supported + LaunchFailed // attempt to launch handling application failed + }; + SchemeHandler(); ~SchemeHandler(); - bool HandleSpecialScheme(const QUrl &url); + SchemeHandlerError HandleSpecialScheme(const QUrl &url); private: - bool ReadSdConfirmDtmfValue(); - bool HandleUrlEmbedded( const QUrl &url, bool confirmDTMF ); - - bool HandleMailtoScheme(const QUrl &url); - bool HandleRtspScheme(const QUrl &url); -#if defined(Q_OS_SYMBIAN) - void HandleRtspSchemeL(const QUrl &url); - void HandleMailtoSchemeL(const QUrl &url); - TPtrC qt_QString2TPtrC( const QString& string ); - HBufC* qt_QString2HBufC(const QString& string); -#endif - -private: -#if defined(Q_OS_SYMBIAN) - WrtTelService* m_telService; ///< Owned. -#endif + SchemeHandlerPrivate *d; }; + } #endif /* def SCHEME_HANDLER_H */