1*edf2516dSStephan Aßmus /* 2*edf2516dSStephan Aßmus * Copyright (c) 1998-2007 Matthijs Hollemans 3*edf2516dSStephan Aßmus * 4*edf2516dSStephan Aßmus * Permission is hereby granted, free of charge, to any person obtaining a 5*edf2516dSStephan Aßmus * copy of this software and associated documentation files (the "Software"), 6*edf2516dSStephan Aßmus * to deal in the Software without restriction, including without limitation 7*edf2516dSStephan Aßmus * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8*edf2516dSStephan Aßmus * and/or sell copies of the Software, and to permit persons to whom the 9*edf2516dSStephan Aßmus * Software is furnished to do so, subject to the following conditions: 10*edf2516dSStephan Aßmus * 11*edf2516dSStephan Aßmus * The above copyright notice and this permission notice shall be included in 12*edf2516dSStephan Aßmus * all copies or substantial portions of the Software. 13*edf2516dSStephan Aßmus * 14*edf2516dSStephan Aßmus * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15*edf2516dSStephan Aßmus * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16*edf2516dSStephan Aßmus * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17*edf2516dSStephan Aßmus * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18*edf2516dSStephan Aßmus * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19*edf2516dSStephan Aßmus * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20*edf2516dSStephan Aßmus * DEALINGS IN THE SOFTWARE. 21*edf2516dSStephan Aßmus */ 22*edf2516dSStephan Aßmus #ifndef GREP_LIST_VIEW_H 23*edf2516dSStephan Aßmus #define GREP_LIST_VIEW_H 24*edf2516dSStephan Aßmus 25*edf2516dSStephan Aßmus #include <Entry.h> 26*edf2516dSStephan Aßmus #include <OutlineListView.h> 27*edf2516dSStephan Aßmus #include <StringItem.h> 28*edf2516dSStephan Aßmus 29*edf2516dSStephan Aßmus 30*edf2516dSStephan Aßmus class ResultItem : public BStringItem { 31*edf2516dSStephan Aßmus public: 32*edf2516dSStephan Aßmus ResultItem(const entry_ref& ref); 33*edf2516dSStephan Aßmus 34*edf2516dSStephan Aßmus entry_ref ref; 35*edf2516dSStephan Aßmus }; 36*edf2516dSStephan Aßmus 37*edf2516dSStephan Aßmus 38*edf2516dSStephan Aßmus class GrepListView : public BOutlineListView { 39*edf2516dSStephan Aßmus public: 40*edf2516dSStephan Aßmus GrepListView(); 41*edf2516dSStephan Aßmus }; 42*edf2516dSStephan Aßmus 43*edf2516dSStephan Aßmus #endif // GREP_LIST_VIEW_H 44