Skip to content

Commit 33a80d0

Browse files
committed
Refactor main.cpp to clean up includes and remove unused test file function
1 parent 2f7d74c commit 33a80d0

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

src/main.cpp

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,16 @@
33
Copyright (c) 2019 Kushview, LLC. All rights reserved.
44
*/
55

6-
#include "juce.hpp"
7-
#include <juce_events/juce_events.h>
6+
#include <juce_gui_basics/juce_gui_basics.h>
87

98
#include "device.hpp"
109
#include "maincomponent.hpp"
1110
#include "lookandfeel.hpp"
1211
#include "controller.hpp"
1312

14-
namespace vmc {
15-
namespace detail {
16-
static juce::File testFile()
17-
{
18-
return File::getSpecialLocation (File::userDesktopDirectory)
19-
.getChildFile ("test.xml");
20-
}
21-
} // namespace detail
13+
using namespace juce;
2214

15+
namespace vmc {
2316
class Application : public JUCEApplication {
2417
public:
2518
Application() {}
@@ -84,7 +77,7 @@ class Application : public JUCEApplication {
8477
setResizable (false, false);
8578

8679
deviceChanged();
87-
80+
8881
setVisible (true);
8982
}
9083

0 commit comments

Comments
 (0)