repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / haikudepot / ui / FilterView.h
blob4e444d6b4a0fc87afd7d364d563a701484e3af05
1 /*
2 * Copyright 2013, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5 #ifndef FILTER_VIEW_H
6 #define FILTER_VIEW_H
8 #include <GroupView.h>
11 class BMenuField;
12 class BTextControl;
13 class Model;
16 enum {
17 MSG_CATEGORY_SELECTED = 'ctsl',
18 MSG_DEPOT_SELECTED = 'dpsl',
19 MSG_SEARCH_TERMS_MODIFIED = 'stmd',
23 class FilterView : public BGroupView {
24 public:
25 FilterView();
26 virtual ~FilterView();
28 virtual void AttachedToWindow();
29 virtual void MessageReceived(BMessage* message);
31 void AdoptModel(const Model& model);
33 private:
34 BMenuField* fShowField;
35 BMenuField* fRepositoryField;
36 BTextControl* fSearchTermsText;
39 #endif // FILTER_VIEW_H