ac0a462fba
* Instead of launching Tracker/Deskbar directly, we now launch the Login application. * This will now start a new session for the selected user (the password is currently ignored). * When a user session is started, the launch_daemon forks, and the child then restarts the LaunchDaemon application in user mode. * It then registers itself with its parent, in order to resolve user dependent services. * Added a user launch file that will cause Tracker, and Deskbar to start in the new session.
25 lines
460 B
C++
25 lines
460 B
C++
/*
|
|
* Copyright 2015 Haiku, Inc. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _LAUNCH_ROSTER_PRIVATE_H
|
|
#define _LAUNCH_ROSTER_PRIVATE_H
|
|
|
|
|
|
#include <LaunchRoster.h>
|
|
|
|
|
|
class BLaunchRoster::Private {
|
|
public:
|
|
Private(BLaunchRoster* roster);
|
|
Private(BLaunchRoster& roster);
|
|
|
|
status_t RegisterSession(const BMessenger& target);
|
|
|
|
private:
|
|
BLaunchRoster* fRoster;
|
|
};
|
|
|
|
|
|
#endif // _LAUNCH_ROSTER_PRIVATE_H
|