summaryrefslogtreecommitdiff
path: root/src/completion.h
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2012-11-03 03:16:50 +0100
committerDaniel Carl <danielcarl@gmx.de>2012-11-10 14:43:04 +0100
commite734ed21996ba2a6b52e932375cd1cd04a92206e (patch)
tree1966f6ec1bb81c15322301e3a7c7e4e4550bd48e /src/completion.h
parentc5a59b43291c4bbd2da6624effede2ca3ad785d6 (diff)
Added completion of commands.
Diffstat (limited to 'src/completion.h')
-rw-r--r--src/completion.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/completion.h b/src/completion.h
new file mode 100644
index 0000000..29d1692
--- /dev/null
+++ b/src/completion.h
@@ -0,0 +1,32 @@
+/**
+ * vimp - a webkit based vim like browser.
+ *
+ * Copyright (C) 2012 Daniel Carl
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see http://www.gnu.org/licenses/.
+ */
+
+#ifndef COMPLETION_H
+#define COMPLETION_H
+
+#include "main.h"
+
+typedef enum {
+ COMPLETE_COMMAND
+} CompletionType;
+
+void completion_clean(void);
+gboolean completion_complete(const CompletionType type, gboolean back);
+
+#endif /* end of include guard: COMPLETION_H */