taskswitcher/utils/inc/tsrunningapp.h
changeset 125 26079c1bb561
child 127 7b66bc3c6dc9
equal deleted inserted replaced
123:d1dadafc5584 125:26079c1bb561
       
     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 TSRUNNINGAPPLICATION_H
       
    18 #define TSRUNNINGAPPLICATION_H
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 /**
       
    23  * Abstract interface of container with data to describe running application 
       
    24  */
       
    25 class MTsRunningApplication
       
    26     {
       
    27 public:
       
    28     /**
       
    29      * Provide access to application unique identifier
       
    30      * @return running application identyfier
       
    31      */
       
    32     virtual TUid UidL()const =0;
       
    33     
       
    34     /**
       
    35      * Provide access to application caption
       
    36      * @return running application caption 
       
    37      */
       
    38     virtual const TDesC& CaptionL() const =0;
       
    39     
       
    40     /**
       
    41      * Provide information if application is hidden from application library
       
    42      * @return EFalse if it's not hidden, other values it is.  
       
    43      */
       
    44     virtual TBool IsHiddenL() const =0;
       
    45     
       
    46     /**
       
    47      * Provide information if application is required by the system and should be closed
       
    48      * @return EFalse if it's not system, other values it is.  
       
    49      */
       
    50     virtual TBool IsSystemL() const =0;
       
    51     
       
    52     /**
       
    53      * Provide access to process window group identifier
       
    54      * @return process window group identyfier
       
    55      */
       
    56     virtual TInt WindowGroupId() const =0;
       
    57     
       
    58     /**
       
    59      * Provide access to "parent" application window group identifier if entry is embeded application
       
    60      * @return parent application window group id
       
    61      */
       
    62     virtual TInt ParentWindowGroupId() const =0;
       
    63     
       
    64     /**
       
    65      * Provide information if application is running embeded-mode
       
    66      * @return EFalse if application isn't embeded, other values it is 
       
    67      */
       
    68     virtual TBool IsEmbeded() const =0;
       
    69 
       
    70     };
       
    71 #endif //TSRUNNINGAPPLICATION_H