iaupdate/IAD/swhandlerplugin/inc/swhandlerplugin.h
branchRCL_3
changeset 73 79647526f98c
equal deleted inserted replaced
70:e8965914fac7 73:79647526f98c
       
     1 /*
       
     2 * Copyright (c) 2010- Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __SWHANDLERPLUGIN_H__
       
    19 #define __SWHANDLERPLUGIN_H__
       
    20 
       
    21 //  Include Files
       
    22 
       
    23 #include <e32base.h>	// CBase
       
    24 #include <schemehandler.h>
       
    25 #include <AknServerApp.h>
       
    26 
       
    27 //  Constants
       
    28 
       
    29 //  Class Definitions
       
    30 
       
    31 class CSwHandlerPlugin : public CSchemeHandler
       
    32     {
       
    33 public:
       
    34     // new functions
       
    35     static CSwHandlerPlugin* NewL();
       
    36     CSwHandlerPlugin();
       
    37     ~CSwHandlerPlugin();
       
    38 
       
    39 public: // CSchemeHandler
       
    40     
       
    41     /**
       
    42     * Url Handler with embedding
       
    43     * @param -
       
    44     */
       
    45     virtual void HandleUrlEmbeddedL();
       
    46 
       
    47     /**
       
    48     * Url Handler without embedding
       
    49     * @param -
       
    50     */
       
    51     virtual void HandleUrlStandaloneL();
       
    52 
       
    53     /**
       
    54     * Observer
       
    55     * @param - aSchemeDoc
       
    56     */
       
    57     virtual void Observer( MAknServerAppExitObserver* aSchemeDoc );     
       
    58     
       
    59 private:
       
    60     void ConstructL();
       
    61 
       
    62 private: // data
       
    63     /**
       
    64      * Exit observer.
       
    65      */
       
    66     MAknServerAppExitObserver* iSchemeDoc; ///< Not owned.
       
    67     };
       
    68 
       
    69 #endif  // __SWHANDLERPLUGIN_H__
       
    70