accessoryservices/accessoryremotecontrol/tsrc/remcontestcontrol/dsytfstifadapter/src/tfastifentrypoint.cpp
branchRCL_3
changeset 21 ccb4f6b3db21
parent 0 4e1aa6a622a0
child 22 8cb079868133
equal deleted inserted replaced
20:1ddbe54d0645 21:ccb4f6b3db21
   157     CTFAStifTestEnvironment* env = new ( ELeave ) CTFAStifTestEnvironment( *log );
   157     CTFAStifTestEnvironment* env = new ( ELeave ) CTFAStifTestEnvironment( *log );
   158     CleanupStack::Pop( log );
   158     CleanupStack::Pop( log );
   159     COMPONENT_TRACE( ( _L( "    DSYTESTTOOL - CTFAStifEntryPoint::CreateEnvironmentL - return 0x%x" ), env ) );
   159     COMPONENT_TRACE( ( _L( "    DSYTESTTOOL - CTFAStifEntryPoint::CreateEnvironmentL - return 0x%x" ), env ) );
   160     return env;
   160     return env;
   161     }
   161     }
       
   162 
       
   163 
       
   164 EXPORT_C TInt SetRequirements( CTestModuleParam*& aTestModuleParam, 
       
   165                                TUint32& aParameterValid )
       
   166 
       
   167     {
       
   168     aParameterValid = KStifTestModuleParameterChanged;
       
   169     CTestModuleParamVer01* param = CTestModuleParamVer01::NewL();
       
   170 
       
   171     // Stack size
       
   172     param->iTestThreadStackSize= 65536; // 64KB stack
       
   173     // Heap sizes
       
   174     param->iTestThreadMinHeap = 4096;   // 4K heap min
       
   175     param->iTestThreadMaxHeap = 1260480;// 1.2M heap max
       
   176     aTestModuleParam = param;
       
   177     return KErrNone;
       
   178     } 
   162     
   179