radioengine/utils/src/radioengineutils.cpp
changeset 28 075425b8d9a4
parent 24 6df133bd92e1
child 37 451b2e1545b2
child 38 f8c3d4e6102c
equal deleted inserted replaced
24:6df133bd92e1 28:075425b8d9a4
    25 
    25 
    26 // ---------------------------------------------------------------------------
    26 // ---------------------------------------------------------------------------
    27 //
    27 //
    28 // ---------------------------------------------------------------------------
    28 // ---------------------------------------------------------------------------
    29 //
    29 //
    30 EXPORT_C void RadioEngineUtils::InitializeL( CCoeEnv* aCoeEnv )
    30 EXPORT_C void RadioEngineUtils::InitializeL()
    31     {
    31     {
    32     CRadioEngineTls::InitializeL( aCoeEnv );
    32     CRadioEngineTls::InitializeL();
    33     CRadioEngineTls::Instance().AddRef();
    33     CRadioEngineTls::Instance().AddRef();
    34     }
    34     }
    35 
    35 
    36 // ---------------------------------------------------------------------------
    36 // ---------------------------------------------------------------------------
    37 //
    37 //
    47 // ---------------------------------------------------------------------------
    47 // ---------------------------------------------------------------------------
    48 //
    48 //
    49 EXPORT_C MRadioEngineLogger* RadioEngineUtils::Logger()
    49 EXPORT_C MRadioEngineLogger* RadioEngineUtils::Logger()
    50     {
    50     {
    51     return CRadioEngineTls::Instance().Logger();
    51     return CRadioEngineTls::Instance().Logger();
    52     }
       
    53 
       
    54 // ---------------------------------------------------------------------------
       
    55 // Return the cone environment
       
    56 // ---------------------------------------------------------------------------
       
    57 //
       
    58 EXPORT_C CCoeEnv* RadioEngineUtils::Env()
       
    59     {
       
    60     return CRadioEngineTls::Instance().Env();
       
    61     }
    52     }
    62 
    53 
    63 // ---------------------------------------------------------------------------
    54 // ---------------------------------------------------------------------------
    64 // Returns the file server session
    55 // Returns the file server session
    65 // ---------------------------------------------------------------------------
    56 // ---------------------------------------------------------------------------