BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / apps / text_search / GrepListView.h
blob602084b17726eb81c5c713c4ae344883f92e7f26
1 /*
2 * Copyright (c) 1998-2007 Matthijs Hollemans
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5 #ifndef GREP_LIST_VIEW_H
6 #define GREP_LIST_VIEW_H
8 #include <Entry.h>
9 #include <ListItem.h>
10 #include <OutlineListView.h>
13 class ResultItem : public BStringItem {
14 public:
15 ResultItem(const entry_ref& ref);
17 entry_ref ref;
21 class GrepListView : public BOutlineListView {
22 public:
23 GrepListView();
25 ResultItem* FindItem(const entry_ref& ref,
26 int32* _index) const;
28 ResultItem* RemoveResults(const entry_ref& ref,
29 bool completeItem);
32 #endif // GREP_LIST_VIEW_H