tsrc/Apastub/src/apgcli.cpp
changeset 0 f0cf47e981f9
equal deleted inserted replaced
-1:000000000000 0:f0cf47e981f9
       
     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 #include "apgcli.h"
       
    18 
       
    19 RApaLsSession::RApaLsSession()
       
    20     {
       
    21     iConnected = EFalse;
       
    22     }
       
    23 
       
    24 
       
    25  void RApaLsSession::Close()
       
    26     {
       
    27     iConnected = EFalse;
       
    28     }
       
    29 
       
    30 
       
    31  TInt RApaLsSession::Connect()
       
    32     {
       
    33     iConnected = ETrue;        
       
    34     return KErrNone;
       
    35     }
       
    36 
       
    37 
       
    38  TVersion RApaLsSession::Version() const
       
    39     {
       
    40     return TVersion();
       
    41 
       
    42     }
       
    43 
       
    44 
       
    45  TInt RApaLsSession::GetAppInfo(TApaAppInfo& aInfo,TUid aAppUid) const
       
    46     {
       
    47     return KErrNone;
       
    48 
       
    49     }
       
    50 
       
    51 
       
    52  TInt RApaLsSession::StartApp(const CApaCommandLine& aCommandLine)
       
    53     {
       
    54     return KErrNone;
       
    55 
       
    56     }// This is only recommended for non document based apps
       
    57 
       
    58 
       
    59  TInt RApaLsSession::StartApp(const CApaCommandLine& aCommandLine,TThreadId& aThreadId)
       
    60     {
       
    61     return KErrNone;
       
    62     }
       
    63 
       
    64 
       
    65  TInt RApaLsSession::StartApp(const CApaCommandLine& aCommandLine,TThreadId& aThreadId,TRequestStatus* aRequestStatusForRendezvous)
       
    66     {
       
    67     return KErrNone;
       
    68     }
       
    69     
       
    70  TInt RApaLsSession::StartDocument( const TDesC& /*aFileName*/, TUid /*aAppUid*/, TThreadId& /*aThreadId*/, TLaunchType /*aLaunchType*/ )
       
    71     {
       
    72     return KErrNone;
       
    73     }