1 /**Class to test the BFileGameSound class 2 @author Tim de Jong 3 @date 21/09/2002 4 @version 1.0 5 */ 6 7 #include "FileSoundTest.h" 8 #include "FileSoundWindow.h" 9 #include <Rect.h> 10 11 int main() 12 { 13 FileSoundTest test; 14 test.Run(); 15 return 0; 16 } 17 18 19 FileSoundTest::FileSoundTest() 20 :BApplication("application/x-vnd.FileSoundTest") 21 { 22 //show app window 23 BRect windowBounds(50,50,400,170); 24 FileSoundWindow *window = new FileSoundWindow(windowBounds); 25 window -> Show(); 26 } 27