/* * Copyright 2011, Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT License. * * Authors: * Clemens Zeidler */ #ifndef MUSIC_COLLECTION_WINDOW_H #define MUSIC_COLLECTION_WINDOW_H #include #include #include #include #include "MusicFileListView.h" class MusicCollectionWindow : public BWindow { public: MusicCollectionWindow(BRect rect, const char* name); virtual ~MusicCollectionWindow(); virtual bool QuitRequested(); virtual void MessageReceived(BMessage* message); private: void _StartNewQuery(); BQuery* _CreateQuery(BString& queryString); BTextControl* fQueryField; BStringView* fCountView; MusicFileListView* fFileListView; EntryViewInterface* fEntryViewInterface; QueryHandler* fQueryHandler; QueryReader* fQueryReader; }; #endif // MUSIC_COLLECTION_WINDOW_H