aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ioview.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2014-12-08 20:42:25 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2014-12-08 20:42:25 +0100
commit43777708af20f53abbe268cc908854071d971d36 (patch)
treebc8e80a08f029f0a809f955d6389b3beea536c15 /src/ioview.h
parent6e5a6113af29dcc2380e6884fb49ed0e4fcbe16d (diff)
downloadsciteco-43777708af20f53abbe268cc908854071d971d36.tar.gz
do not show possible completions for hidden files and directories
* added platform-dependant file_is_visible() function
Diffstat (limited to 'src/ioview.h')
-rw-r--r--src/ioview.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ioview.h b/src/ioview.h
index 0c1e653..7f26222 100644
--- a/src/ioview.h
+++ b/src/ioview.h
@@ -31,13 +31,18 @@ namespace SciTECO {
* Auxiliary functions
*/
-/*
+/**
* Get absolute/full version of a possibly relative path.
* Works with existing and non-existing paths (in the latter case,
* heuristics may be applied.)
+ *
+ * @param path Possibly relative path name.
+ * @return Newly-allocated absolute path name.
*/
gchar *get_absolute_path(const gchar *path);
+bool file_is_visible(const gchar *path);
+
class IOView : public ViewCurrent {
class UndoTokenRemoveFile : public UndoToken {
gchar *filename;