src/gui/util/qdesktopservices_s60.cpp
changeset 18 2f34d5167611
parent 3 41300fa6a67c
child 30 5dc02b23752f
equal deleted inserted replaced
3:41300fa6a67c 18:2f34d5167611
     1 /****************************************************************************
     1 /****************************************************************************
     2 **
     2 **
     3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     4 ** All rights reserved.
     4 ** All rights reserved.
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     5 ** Contact: Nokia Corporation (qt-info@nokia.com)
     6 **
     6 **
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     7 ** This file is part of the QtGui module of the Qt Toolkit.
     8 **
     8 **
    46 #include <qcoreapplication.h>
    46 #include <qcoreapplication.h>
    47 #include <qdir.h>
    47 #include <qdir.h>
    48 #include <qurl.h>
    48 #include <qurl.h>
    49 #include <private/qcore_symbian_p.h>
    49 #include <private/qcore_symbian_p.h>
    50 
    50 
    51 /* :QTP:QTBUG-5713: illegal app layer dependency
       
    52 #include <miutset.h>                // KUidMsgTypeSMTP
       
    53 */
       
    54 /** UID of an SMTP message type. */
       
    55 const TUid KUidMsgTypeSMTP			= {0x10001028};	// 268439592
       
    56 
       
    57 
       
    58 #include <txtrich.h>                // CRichText
    51 #include <txtrich.h>                // CRichText
    59 #include <f32file.h>                // TDriveUnit etc
    52 #include <f32file.h>                // TDriveUnit etc
    60 #include <eikenv.h>                 // CEikonEnv
    53 #include <eikenv.h>                 // CEikonEnv
    61 #include <apgcli.h>                 // RApaLsSession
    54 #include <apgcli.h>                 // RApaLsSession
    62 #include <apgtask.h>                // TApaTaskList, TApaTask
    55 #include <apgtask.h>                // TApaTaskList, TApaTask
    63 #include <rsendas.h>                // RSendAs
    56 #include <rsendas.h>                // RSendAs
    64 #include <rsendasmessage.h>         // RSendAsMessage
    57 #include <rsendasmessage.h>         // RSendAsMessage
    65 
    58 
       
    59 // copied from miutset.h, so we don't get a dependency into the app layer
       
    60 const TUid KUidMsgTypeSMTP			= {0x10001028};	// 268439592
       
    61 
    66 #ifdef Q_WS_S60
    62 #ifdef Q_WS_S60
    67 #  include <pathinfo.h>             // PathInfo
    63 #  include <pathinfo.h>             // PathInfo
    68 #  ifdef USE_DOCUMENTHANDLER
    64 #  ifdef USE_DOCUMENTHANDLER
    69 #    include <documenthandler.h>    // CDocumentHandler
    65 #    include <DocumentHandler.h>    // CDocumentHandler
    70 #    include <aknserverapp.h>
    66 #    include <AknServerApp.h>
    71 #  endif
    67 #  endif
    72 #else
    68 #else
    73 #  warning CDocumentHandler requires support for S60
    69 #  warning CDocumentHandler requires support for S60
    74 #  undef USE_DOCUMENTHANDLER        // Fallback to RApaLsSession based implementation
    70 #  undef USE_DOCUMENTHANDLER        // Fallback to RApaLsSession based implementation
    75 #endif
    71 #endif