Added missing beep functions - they are not yet implemented, though.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8192 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-06-27 20:33:29 +00:00
parent 14c2eb06d3
commit 63b2f72c39
2 changed files with 34 additions and 0 deletions

33
src/kits/support/Beep.cpp Normal file
View File

@ -0,0 +1,33 @@
/*
** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
** Distributed under the terms of the Haiku License.
*/
#include <Beep.h>
#include <stdio.h>
status_t
system_beep(const char *eventName)
{
printf("beep event \"%s\" requested.\n", eventName);
// ToDo: ask media server to beep around
return B_ERROR;
}
status_t
beep()
{
return system_beep(NULL);
}
status_t
add_system_beep_event(const char *eventName, uint32 flags _BEEP_FLAGS)
{
// ToDo: ask media server to add beep event
return B_ERROR;
}

View File

@ -1,5 +1,6 @@
SUPPORT_KIT_SOURCE = SUPPORT_KIT_SOURCE =
Archivable.cpp Archivable.cpp
Beep.cpp
BlockCache.cpp BlockCache.cpp
ByteOrder.cpp ByteOrder.cpp
DataIO.cpp DataIO.cpp