1 /* 2 * ResizeVisitor.h 3 * Copyright (C) 2020 Adrien Destugues <pulkomandy@pulkomandy.tk> 4 * 5 * Distributed under terms of the MIT license. 6 */ 7 8 #ifndef RESIZE_VISITOR_H 9 #define RESIZE_VISITOR_H 10 11 12 #include "FileSystemVisitor.h" 13 14 15 class ResizeVisitor: public FileSystemVisitor { 16 public: 17 ResizeVisitor(Volume* volume); 18 19 status_t Resize(off_t size, disk_job_id job); 20 }; 21 22 23 #endif /* !RESIZE_VISITOR_H */ 24