voiceui/pbkinfoviewimpl/inc/pbkinfoviewapi.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2005 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 "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:  Contains functions that are exported from PbkInfoView for 
       
    15 *                PbkInfoView AIW provider.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef PBKINFOVIEWAPI_H
       
    21 #define PBKINFOVIEWAPI_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 class CPbkInfoViewDialog;
       
    28 
       
    29 /**
       
    30 *  Public API for executing info view. 
       
    31 * 
       
    32 *  @lib pbkinfoview.lib
       
    33 *  
       
    34 */
       
    35 class CPbkInfoViewApi : public CBase
       
    36     {
       
    37 
       
    38     public:
       
    39         /**
       
    40         * Two-phased constructor.
       
    41         */
       
    42 	    IMPORT_C static CPbkInfoViewApi* NewL();
       
    43 
       
    44 	    /**
       
    45         * Destructor.
       
    46         */
       
    47 	    virtual ~CPbkInfoViewApi();
       
    48 	    
       
    49         /**
       
    50         * Shows info view displaying voice commands related to the contact.
       
    51         * @param aContactId Contact id from contacts db.
       
    52 	    * @return None.
       
    53         */
       
    54 		IMPORT_C void ShowInfoViewL( TInt aContactId );
       
    55 
       
    56     private:
       
    57         /**
       
    58         * By default Symbian 2nd phase constructor is private.
       
    59         */
       
    60 	    void ConstructL();
       
    61 
       
    62         /**
       
    63         * C++ default constructor.
       
    64         */
       
    65         CPbkInfoViewApi();
       
    66     };
       
    67 
       
    68 
       
    69 #endif  // PBKINFOVIEWAPI_H
       
    70 
       
    71 // End of file