IFolder.h 531 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include "Types.h"

#include <vector>

class IFolder
{
public:
    virtual ~IFolder() = default;
    virtual unsigned int id() const = 0;
    virtual const std::string& path() = 0;
13
    // This will only returns the files in this immediate folder
14
    virtual std::vector<FilePtr> files() = 0;
15
    virtual std::vector<FolderPtr> folders() = 0;
16
    virtual unsigned int lastModificationDate() = 0;
17
    virtual bool setLastModificationDate( unsigned int lastModificationDate ) = 0;
18
    virtual FolderPtr parent() = 0;
19
};