libt3widget
Main Page
Modules
Namespaces
src
autocompleter.h
1
/* Copyright (C) 2011-2012 G.P. Halkes
2
This program is free software: you can redistribute it and/or modify
3
it under the terms of the GNU General Public License version 3, as
4
published by the Free Software Foundation.
5
6
This program is distributed in the hope that it will be useful,
7
but WITHOUT ANY WARRANTY; without even the implied warranty of
8
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
GNU General Public License for more details.
10
11
You should have received a copy of the GNU General Public License
12
along with this program. If not, see <http://www.gnu.org/licenses/>.
13
*/
14
#ifndef T3_WIDGET_AUTOCOMPLETER_H
15
#define T3_WIDGET_AUTOCOMPLETER_H
16
17
#include <t3widget/contentlist.h>
18
19
namespace
t3_widget
{
20
21
class
T3_WIDGET_API
autocompleter_t
{
22
public
:
23
virtual
~
autocompleter_t
(
void
);
24
virtual
string_list_base_t
*build_autocomplete_list(
const
text_buffer_t
*text,
int
*position) = 0;
25
virtual
void
autocomplete(
text_buffer_t
*text,
size_t
idx) = 0;
26
};
27
28
29
};
// namespace
30
31
#endif
t3_widget::text_buffer_t
Definition:
textbuffer.h:34
t3_widget
The t3_widget namespace is contains all classes, functions and global variables in the libt3widget li...
Definition:
autocompleter.cc:18
t3_widget::string_list_base_t
Abstract base class for string and file lists, but not for filtered lists.
Definition:
contentlist.h:46
t3_widget::autocompleter_t
Definition:
autocompleter.h:21
Generated on Sun Feb 21 2016 09:26:21 for libt3widget by
1.8.9.1