idlefw/plugins/shortcutplugin/inc/aiscutfactory.h
branchRCL_3
changeset 9 d0529222e3f0
parent 4 1a2a00e78665
child 10 5ef93ea513cb
child 18 bd874ee5e5e2
equal deleted inserted replaced
4:1a2a00e78665 9:d0529222e3f0
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  Shortcut plug-in factory class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef AISCUTENGINEFACTORY_H
       
    20 #define AISCUTENGINEFACTORY_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 class CAiScutEngine;
       
    25 class CAiScutPlugin;
       
    26 class CAiScutShortcut;
       
    27 
       
    28 /**
       
    29  *  AiScutEngineFactory
       
    30  *
       
    31  *  Creates various classes used in AiScutPlugin.
       
    32  *
       
    33  *  @since S60 v3.2
       
    34  */
       
    35 class AiScutFactory
       
    36     {
       
    37     public:
       
    38         /**
       
    39          * Creates CAiScutEngine
       
    40          * @since S60 v3.2
       
    41          */
       
    42         static CAiScutEngine* CreateAiScutEngineL( CAiScutPlugin& aPlugin );
       
    43 
       
    44         /**
       
    45          * Creates CAiScutShortcut
       
    46          * @since S60 v3.2
       
    47          */
       
    48         static CAiScutShortcut* CreateAiScutShortcutL( TInt aId, 
       
    49             const TDesC& aTarget, CAiScutEngine& aEngine );
       
    50 
       
    51         /**
       
    52          * Creates CAiScutShortcut
       
    53          * @since S60 v3.2
       
    54          */
       
    55         static CAiScutShortcut* CreateAiScutShortcutLC( TInt aId, 
       
    56             const TDesC& aTarget, CAiScutEngine& aEngine );
       
    57     };
       
    58 
       
    59 #endif // AISCUTENGINEFACTORY_H
       
    60 
       
    61 // End of File.