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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user