1/* PatchApp.cpp
2 * ------------
3 * Implements the PatchBay application class and main().
4 *
5 * Copyright 2013, Haiku, Inc. All rights reserved.
6 * Distributed under the terms of the MIT License.
7 *
8 * Revisions by Pete Goodeve
9 *
10 * Copyright 1999, Be Incorporated.   All Rights Reserved.
11 * This file may be used under the terms of the Be Sample Code License.
12 */
13
14#include "PatchApp.h"
15
16#include <Roster.h>
17
18#include "PatchWin.h"
19
20PatchApp::PatchApp()
21	:
22	BApplication("application/x-vnd.Haiku.PatchBay")
23{}
24
25
26void
27PatchApp::ReadyToRun()
28{
29	new PatchWin;
30}
31
32
33void
34PatchApp::MessageReceived(BMessage* msg)
35{
36	BApplication::MessageReceived(msg);
37}
38
39
40int
41main(void)
42{
43	PatchApp app;
44	app.Run();
45	return 0;
46}
47
48