1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/textcompleter.h
3 // Purpose: Declaration of wxTextCompleter class.
4 // Author: Vadim Zeitlin
6 // RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
7 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_TEXTCOMPLETER_H_
12 #define _WX_TEXTCOMPLETER_H_
14 // ----------------------------------------------------------------------------
15 // wxTextCompleter: used by wxTextEnter::AutoComplete()
16 // ----------------------------------------------------------------------------
18 class WXDLLIMPEXP_CORE wxTextCompleter
23 virtual void GetCompletions(const wxString
& prefix
, wxArrayString
& res
) = 0;
25 virtual ~wxTextCompleter();
28 wxDECLARE_NO_COPY_CLASS(wxTextCompleter
);
31 #endif // _WX_TEXTCOMPLETER_H_