javamanager/debugapi/src.s60/debugapiimpl.h
changeset 21 2a9601315dfc
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     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: DebugApiImpl provides implementation for Degug API methods
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DEBUGAPIIMPL_H
       
    20 #define DEBUGAPIIMPL_H
       
    21 
       
    22 #include <string>
       
    23 #include <list>
       
    24 #include <unistd.h>
       
    25 #include "javaosheaders.h"
       
    26 
       
    27 namespace java
       
    28 {
       
    29 // forward declarations
       
    30 namespace util
       
    31 {
       
    32 class Uid;
       
    33 }
       
    34 
       
    35 namespace debug
       
    36 {
       
    37 OS_NONSHARABLE_CLASS(DebugApiImpl)
       
    38 {
       
    39 public:
       
    40     DebugApiImpl();
       
    41     virtual ~DebugApiImpl();
       
    42 
       
    43     int installApp(const std::wstring& aFilename,
       
    44                    java::util::Uid& aSuiteUid,
       
    45                    std::list<java::util::Uid>& aAppUid);
       
    46     int uninstallApp(const java::util::Uid& aSuiteUid);
       
    47 
       
    48     int startApp(const java::util::Uid& aAppUid, const std::wstring& aUeiParameters, pid_t& aPid);
       
    49     int stopApp(const java::util::Uid& aAppUid);
       
    50 };
       
    51 
       
    52 } // end namespace debug
       
    53 } // end namespace java
       
    54 
       
    55 
       
    56 #endif // DEBUGAPIIMPL_H