--- SIDPlayer/src/main_beos.cpp 2001/01/21 18:04:46 1.4 +++ SIDPlayer/src/main_beos.cpp 2003/04/11 20:23:02 1.6 @@ -1,7 +1,7 @@ /* * main_beos.cpp - SIDPlayer BeOS main program * - * SIDPlayer (C) Copyright 1996-2001 Christian Bauer + * SIDPlayer (C) Copyright 1996-2003 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -311,9 +311,9 @@ void AboutWindow(void) { BAlert *theAlert = new BAlert("", "SIDPlayer\nVersion " VERSION "\n\n" - "Copyright " B_UTF8_COPYRIGHT " 1996-2001 Christian Bauer\n" + "Copyright " B_UTF8_COPYRIGHT " 1996-2003 Christian Bauer\n" "E-mail: Christian.Bauer@uni-mainz.de\n" - "http://www.uni-mainz.de/~bauec002/\n\n" + "http://www.uni-mainz.de/~bauec002/SPMain.html\n\n" "SIDPlayer comes with ABSOLUTELY NO\n" "WARRANTY. This is free software, and\n" "you are welcome to redistribute it\n" @@ -641,6 +641,26 @@ void PrevButton::Draw(BRect update) } +/* + * Get current value of microsecond timer + */ + +uint64 GetTicks_usec(void) +{ + return system_time(); +} + + +/* + * Delay by specified number of microseconds (<1 second) + */ + +void Delay_usec(uint32 usec) +{ + snooze(usec); +} + + /* * Main program */