Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

PRInt32 tmIPCModule::InitInternal (  )  [static, protected]

tm should be null coming into this method. This does NOT delete tm first.

Returns:
NS_OK if everything succeeds

-1 if initialization fails

Definition at line 130 of file tmIPCModule.cpp.

References tmTransactionManager::Init().

Referenced by HandleMsg().

                          {

  tm = new tmTransactionManager();
  if (tm)
    return tm->Init();
  return -1;
}


Generated by  Doxygen 1.6.0   Back to index