Added empty stubs for shutdown_media_server() and launch_media_server(),

so that we could theoretically run the Media preferences app.
IMO, these belong into libmedia.so; they should be rarely needed with
the new media kit, anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13141 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-06-15 04:33:39 +00:00
parent da7bead8c6
commit 507ff76a65
1 changed files with 24 additions and 4 deletions

View File

@ -1,7 +1,7 @@
/*
** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
* Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include <AppDefs.h>
@ -35,3 +35,23 @@ const uint8 B_I_BEAM_CURSOR[] = {
0xf, 0xc0, 0x7, 0x80, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0,
0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x3, 0x0, 0x7, 0x80, 0xf, 0xc0,
};
// ToDo: find a better home for these (what's wrong with libmedia.so?)
// ToDo: implement shutdown|launch_media_server()
status_t
shutdown_media_server(bigtime_t timeout,
bool (*progress)(int stage, const char * message, void * cookie),
void * cookie)
{
return B_OK;
}
status_t
launch_media_server(uint32 flags)
{
return B_ERROR;
}