launch_daemon: Use BRoster::Launch() without registrar.

* BRoster now allows settings a "no-registrar" mode that is currently
  only honored in _LaunchApp(), though.
* Job::Launch() is now using this, which also allows launching
  applications by signature (ie. if the job name matches the
  signature, you can omit the "launch" option).
This commit is contained in:
Axel Dörfler
2015-07-22 20:42:13 +02:00
parent 1f9826a778
commit 78e39852fa
5 changed files with 37 additions and 25 deletions
+4 -1
View File
@@ -212,6 +212,8 @@ private:
const entry_ref* ref,
bool readyToRun) const;
void _SetWithoutRegistrar(bool noRegistrar);
void _InitMessenger();
static status_t _InitMimeMessenger(void* data);
@@ -229,7 +231,8 @@ private:
BMessenger fMessenger;
BMessenger fMimeMessenger;
int32 fMimeMessengerInitOnce;
uint32 _reserved[2];
bool fNoRegistrar;
uint32 _reserved[1];
};
// global BRoster instance