Fix build for this test.
Shows a problem with the media kit : building it with gcc4 and trying to run it on a gcc2 install results in failure for trying to load a gcc2 media add-on. Same applies for push_game_sound_test. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43123 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ab3d6a3eaf
commit
bb664ea3a2
@ -4,17 +4,22 @@
|
||||
@version 1.0
|
||||
*/
|
||||
|
||||
|
||||
#include "FileSoundWindow.h"
|
||||
|
||||
#include <Alert.h>
|
||||
#include <Application.h>
|
||||
#include <Box.h>
|
||||
#include <TextControl.h>
|
||||
#include <Button.h>
|
||||
#include <CheckBox.h>
|
||||
#include <Alert.h>
|
||||
#include <Entry.h>
|
||||
#include <Path.h>
|
||||
#include <TextControl.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
FileSoundWindow::FileSoundWindow(BRect windowBounds)
|
||||
:BWindow(windowBounds,"BFileGameSound test",B_TITLED_WINDOW,B_NOT_ZOOMABLE|B_NOT_RESIZABLE)
|
||||
{
|
||||
@ -195,7 +200,7 @@ void FileSoundWindow::MessageReceived(BMessage *message)
|
||||
if (pausedValue != BFileGameSound::B_PAUSE_IN_PROGRESS)
|
||||
{
|
||||
status_t error;
|
||||
char *label;
|
||||
const char *label;
|
||||
if (paused)
|
||||
{
|
||||
paused = false;
|
||||
|
@ -4,15 +4,22 @@
|
||||
@version 1.0
|
||||
*/
|
||||
|
||||
|
||||
#ifndef FILE_SOUND_WINDOW
|
||||
#define FILE_SOUND_WINDOW
|
||||
|
||||
#include <Window.h>
|
||||
#include <Rect.h>
|
||||
#include <Message.h>
|
||||
#include <FileGameSound.h>
|
||||
|
||||
#include <Button.h>
|
||||
#include <CheckBox.h>
|
||||
#include <Entry.h>
|
||||
#include <FileGameSound.h>
|
||||
#include <FilePanel.h>
|
||||
#include <Message.h>
|
||||
#include <Rect.h>
|
||||
#include <TextControl.h>
|
||||
#include <Window.h>
|
||||
|
||||
|
||||
//message constants
|
||||
#define BROWSE_MSG 1
|
||||
#define PLAY_MSG 2
|
||||
|
@ -2,6 +2,6 @@ SubDir HAIKU_TOP src tests kits game file_game_sound_test ;
|
||||
|
||||
SimpleTest file_game_sound_test
|
||||
: FileSoundTest.cpp FileSoundWindow.cpp
|
||||
: game tracker be root
|
||||
: game tracker be root $(TARGET_LIBSTDC++)
|
||||
;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user