taskswitcher/utils/inc/tsrunningappstorage.h
changeset 127 7b66bc3c6dc9
parent 125 26079c1bb561
equal deleted inserted replaced
126:efda7c0771b9 127:7b66bc3c6dc9
    17 #ifndef TSRUNNINGAPPLICATIONSTORAGE_H
    17 #ifndef TSRUNNINGAPPLICATIONSTORAGE_H
    18 #define TSRUNNINGAPPLICATIONSTORAGE_H
    18 #define TSRUNNINGAPPLICATIONSTORAGE_H
    19 
    19 
    20 #include <e32base.h>
    20 #include <e32base.h>
    21 class MTsRunningApplication;
    21 class MTsRunningApplication;
       
    22 class TTsEntryKey;
    22 
    23 
    23 /**
    24 /**
    24  * Abstract interface of container with running applications desctiptors 
    25  * Abstract interface of container with running applications desctiptors 
    25  */
    26  */
    26 class MTsRunningApplicationStorage
    27 class MTsRunningApplicationStorage
    29     /**
    30     /**
    30      * Provide access to running applications
    31      * Provide access to running applications
    31      * @param aOffset - index of running application
    32      * @param aOffset - index of running application
    32      * @return running application entry
    33      * @return running application entry
    33      */
    34      */
    34     virtual const MTsRunningApplication& operator[] ( TInt aOffset ) const=0;
    35     virtual MTsRunningApplication& operator[] ( TInt aOffset ) const=0;
    35     
    36     
    36     /**
    37     /**
    37      * Provide information about number of running applications
    38      * Provide information about number of running applications
    38      * @return number of running applications
    39      * @return number of running applications
    39      */
    40      */
    48     /**
    49     /**
    49      * Provide access to windows groups that were blocked( servers, applications without UI )
    50      * Provide access to windows groups that were blocked( servers, applications without UI )
    50      * @return list of blocked window groups
    51      * @return list of blocked window groups
    51      */
    52      */
    52     virtual TArray<TInt> BlockedWindowGroups() const =0;
    53     virtual TArray<TInt> BlockedWindowGroups() const =0;
       
    54     
       
    55     virtual TInt GenerateKey( TTsEntryKey& aReturnKey, 
       
    56                               TInt aWindowGroupId) const =0;
    53 
    57 
    54     };
    58     };
    55 
    59 
    56 #endif //TSRUNNINGAPPLICATIONSTORAGE_H
    60 #endif //TSRUNNINGAPPLICATIONSTORAGE_H