2 * Copyright 2005, Jérôme Duval. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Inspired by SoundCapture from Be newsletter (Media Kit Basics: Consumers and Producers)
8 #include "RecorderApp.h"
9 #include "RecorderWindow.h"
12 RecorderApp::RecorderApp(const char* signature
)
13 : BApplication(signature
), fRecorderWin(NULL
)
15 fRecorderWin
= new RecorderWindow();
19 RecorderApp::~RecorderApp()
25 RecorderApp::InitCheck()
28 return fRecorderWin
->InitCheck();
36 RecorderApp
app("application/x-vnd.Haiku-SoundRecorder");
37 if (app
.InitCheck() == B_OK
)