homescreensrv_plat/activity_framework_api/afactivitylauncher.h
changeset 107 b34d53f6acdf
equal deleted inserted replaced
106:e78d6e055a5b 107:b34d53f6acdf
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 #ifndef AFACTIVITYLAUNCHER_H
       
    18 #define AFACTIVITYLAUNCHER_H
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 class RWsSession;
       
    23 class RApaLsSession;
       
    24 class CAfActivityLauncherPrivate;
       
    25 
       
    26 class CAfActivityLauncher : public CBase
       
    27 {
       
    28 
       
    29 public:
       
    30     IMPORT_C static CAfActivityLauncher *NewL(RApaLsSession &apaLsSession, RWsSession &wsSession);
       
    31     IMPORT_C static CAfActivityLauncher *NewLC(RApaLsSession &apaLsSession, RWsSession &wsSession);
       
    32     IMPORT_C ~CAfActivityLauncher();
       
    33     IMPORT_C void launchActivityL(const TDesC &uriDesc);
       
    34 
       
    35 private:
       
    36     CAfActivityLauncher();
       
    37     void ConstructL(RApaLsSession &apaLsSession, RWsSession &wsSession);
       
    38 
       
    39 private:
       
    40     CAfActivityLauncherPrivate *mImplementation;
       
    41 
       
    42 };
       
    43 
       
    44 #endif // AFACTIVITYLAUNCHER_H