00001
00006 #ifndef __BGDNetFile_h__
00007 #define __BGDNetFile_h__
00008
00009 #include "BGDNetConfig.h"
00010
00011 #include "BGDNetDirEntry.h"
00012 #include "BGDNetException.h"
00013
00014 namespace BGDNet
00015 {
00016
00017 class Directory;
00018
00025 class BGDNET_API File : public DirEntry
00026 {
00027 public:
00028
00029 File( const Volume* pVol, const Path& relPath )
00030 throw(Exception);
00037 File( const Directory* pDir, const Path& fileName )
00038 throw(Exception);
00045 virtual nuint32 ownerId( void ) const;
00051 virtual void ownerId( nuint32 id );
00057 nuint32 modifierId( void ) const;
00063 void modifierId( nuint32 id );
00069 String modifierName( const Context& ctx ) const;
00077 void modifierName( const Context& ctx, const char* name );
00085 nuint32 size( void ) const;
00090 };
00091
00092 }
00093
00094 #endif //__BGDNetFile_h__