From 507ff76a65cea9344fea8afef69bb6bc976a1f55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 15 Jun 2005 04:33:39 +0000 Subject: [PATCH] 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 --- src/kits/app/AppDefs.cpp | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/src/kits/app/AppDefs.cpp b/src/kits/app/AppDefs.cpp index 0f0e9853cd..cf0a6b1835 100644 --- a/src/kits/app/AppDefs.cpp +++ b/src/kits/app/AppDefs.cpp @@ -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 @@ -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; +} +