btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / musiccollection / MusicCollectionWindow.h
blob0e106ebaa15c670766b5bbd56438d0fc2e16fef6
1 /*
2 * Copyright 2011, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Clemens Zeidler <haiku@clemens-zeidler.de>
7 */
8 #ifndef MUSIC_COLLECTION_WINDOW_H
9 #define MUSIC_COLLECTION_WINDOW_H
12 #include <OutlineListView.h>
13 #include <StringView.h>
14 #include <TextControl.h>
15 #include <Window.h>
17 #include "MusicFileListView.h"
20 class MusicCollectionWindow : public BWindow {
21 public:
22 MusicCollectionWindow(BRect rect,
23 const char* name);
24 virtual ~MusicCollectionWindow();
26 virtual bool QuitRequested();
27 virtual void MessageReceived(BMessage* message);
29 private:
30 void _StartNewQuery();
31 BQuery* _CreateQuery(BString& queryString);
33 BTextControl* fQueryField;
34 BStringView* fCountView;
35 MusicFileListView* fFileListView;
37 EntryViewInterface* fEntryViewInterface;
38 QueryHandler* fQueryHandler;
39 QueryReader* fQueryReader;
42 #endif // MUSIC_COLLECTION_WINDOW_H