projects
/
vrfileman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
icon name shortening and rudimentary directory visualization
[vrfileman]
/
src
/
fs.h
diff --git
a/src/fs.h
b/src/fs.h
index
c1b171e
..
4174bb1
100644
(file)
--- a/
src/fs.h
+++ b/
src/fs.h
@@
-1,8
+1,9
@@
#ifndef FS_H_
#define FS_H_
#ifndef FS_H_
#define FS_H_
-#include <vector>
#include <stdlib.h>
#include <stdlib.h>
+#include <vector>
+#include <string>
#include "fspath.h"
enum FSNodeType {
#include "fspath.h"
enum FSNodeType {
@@
-16,6
+17,8
@@
class FSNode {
public:
FSNodeType type;
FSPath path;
public:
FSNodeType type;
FSPath path;
+ std::string short_name;
+ std::vector<std::string> name_lines;
size_t size;
FSNode *parent;
size_t size;
FSNode *parent;