1/*
2 * Copyright 2005, J��r��me Duval. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Inspired by SoundCapture from Be newsletter (Media Kit Basics: Consumers and Producers)
6 */
7
8#include "RecorderApp.h"
9#include "RecorderWindow.h"
10
11
12RecorderApp::RecorderApp(const char* signature)
13	: BApplication(signature), fRecorderWin(NULL)
14{
15	fRecorderWin = new RecorderWindow();
16}
17
18
19RecorderApp::~RecorderApp()
20{
21}
22
23
24status_t
25RecorderApp::InitCheck()
26{
27	if (fRecorderWin)
28		return fRecorderWin->InitCheck();
29	return B_OK;
30}
31
32
33int
34main()
35{
36	RecorderApp app("application/x-vnd.Haiku-SoundRecorder");
37	if (app.InitCheck() == B_OK)
38		app.Run();
39	return 0;
40}
41