Fix style issues in MediaAddonServer

Signed-off-by: Jérôme Duval <[email protected]>
This commit is contained in:
Dario Casalinuovo
2015-03-12 21:02:01 +01:00
committed by Jérôme Duval
parent 4d04c262c9
commit 5a1e452ba2
+4 -3
View File
@@ -73,8 +73,8 @@ struct AddOnInfo {
NodeVector active_flavors; NodeVector active_flavors;
BMediaAddOn* addon;
// if != NULL, need to call gDormantNodeManager->PutAddOn(id) // if != NULL, need to call gDormantNodeManager->PutAddOn(id)
BMediaAddOn* addon;
}; };
@@ -274,8 +274,8 @@ MediaAddonServer::ReadyToRun()
AddHandler(fMonitorHandler); AddHandler(fMonitorHandler);
BMessage pulse(B_PULSE); BMessage pulse(B_PULSE);
fPulseRunner = new BMessageRunner(fMonitorHandler, &pulse, 1000000LL);
// the monitor handler needs a pulse to check if add-ons are ready // the monitor handler needs a pulse to check if add-ons are ready
fPulseRunner = new BMessageRunner(fMonitorHandler, &pulse, 1000000LL);
fMonitorHandler->AddAddOnDirectories("media"); fMonitorHandler->AddAddOnDirectories("media");
@@ -533,7 +533,8 @@ MediaAddonServer::_AddOnAdded(const char* path, ino_t fileNode)
AddOnInfo& info = found->second; AddOnInfo& info = found->second;
info.id = id; info.id = id;
info.wants_autostart = false; // temporary default // temporary default
info.wants_autostart = false;
info.flavor_count = 0; info.flavor_count = 0;
info.addon = addon; info.addon = addon;