BLaunchRoster::ResetStickyEvent() added.

* Used to unflag sticky events that already have been triggered once.
This commit is contained in:
Axel Dörfler
2015-10-25 14:41:17 +01:00
parent 0507a7886a
commit 2e17b6504f
7 changed files with 99 additions and 4 deletions
+19
View File
@@ -257,4 +257,23 @@ on {
*/
/*!
\fn status_t BLaunchRoster::ResetStickyEvent(const BMessenger& source,
const char* name);
\brief Resets a previously triggered sticky event.
When an event triggered that is marked as \c B_STICKY_EVENT, its status
will be reset when you call this method for it.
You must have previously registered the event, in order to make the
launch_daemon do anything. Unknown event notifications will be ignored.
\param source The messenger the event is coming from.
\param name The name of the event.
\return B_OK if the event could be reset, otherwise an error code.
\since Haiku R1
*/
//! @}