30 lines
468 B
Plaintext
30 lines
468 B
Plaintext
// Copyright (C) 2010, Guy Barrand. All rights reserved.
|
|
// See the file tools.license for terms.
|
|
|
|
#ifndef tools_wroot_idir
|
|
#define tools_wroot_idir
|
|
|
|
#include "seek"
|
|
|
|
namespace tools {
|
|
namespace wroot {
|
|
class ifile;
|
|
class iobject;
|
|
}}
|
|
|
|
namespace tools {
|
|
namespace wroot {
|
|
|
|
class idir {
|
|
public:
|
|
virtual ~idir(){}
|
|
public:
|
|
virtual ifile& file() = 0;
|
|
virtual seek seek_directory() const = 0;
|
|
virtual void append_object(iobject*) = 0; //for tree.
|
|
};
|
|
|
|
}}
|
|
|
|
#endif
|