cmmanager/cmmgr/cmmcommon/inc/cmmclistatic.h
changeset 27 489cf6208544
parent 20 9c97ad6591ae
equal deleted inserted replaced
23:7ec726f93df1 27:489cf6208544
    20 #ifndef CMMCLISTATIC_H
    20 #ifndef CMMCLISTATIC_H
    21 #define CMMCLISTATIC_H
    21 #define CMMCLISTATIC_H
    22 
    22 
    23 #include <e32std.h>
    23 #include <e32std.h>
    24 
    24 
    25 const TUint KCmmDefaultMinHeapSize =  0x1000;  //  4K
       
    26 const TUint KCmmDefaultMaxHeapSize = 0x10000;  // 64K
       
    27 
       
    28 const TInt KCmmDefaultMessageSlots = 2;
    25 const TInt KCmmDefaultMessageSlots = 2;
    29 
    26 
    30 _LIT( KCmManagerStartupMutex, "CmManagerStartupMutex" );
    27 _LIT( KCmManagerStartupMutex, "CmManagerStartupMutex" );
    31 
    28 
    32 
    29 
    35  */
    32  */
    36 class TCmManagerLauncher
    33 class TCmManagerLauncher
    37     {
    34     {
    38 public:
    35 public:
    39     static TInt LaunchServer(
    36     static TInt LaunchServer(
    40             const TDesC& aServerName,
       
    41             const TDesC& aServerFileName,
    37             const TDesC& aServerFileName,
    42             const TUid& aServerUid3,
    38             const TUid& aServerUid3 );
    43             const TUint aWinsMinHeapSize = KCmmDefaultMinHeapSize,
       
    44             const TUint aWinsMaxHeapSize = KCmmDefaultMaxHeapSize,
       
    45             const TUint aWinsStackSize = KDefaultStackSize );
       
    46 
    39 
    47 private:
    40 private:
    48     static TBool ServerStartupLock( RMutex& mutex, TInt& err );
    41     static TBool ServerStartupLock( RMutex& mutex, TInt& err );
    49     static void ServerStartupUnlock( RMutex& mutex );
    42     static void ServerStartupUnlock( RMutex& mutex );
    50     };
    43     };