home *** CD-ROM | disk | FTP | other *** search
- /* ==========
- * PedFile.hh
- * ==========
- *
- * Implemented by PedFile.cc
- */
-
- #pragma once
-
- #include "PedObject.hh"
-
- typedef short AccessPath;
-
- class PedFSRef;
-
- class PedFile : public PedObject {
- public:
- PedFile();
- PedFile(PedFSRef &inFSRef);
- virtual ~PedFile();
-
- virtual void SetFSRef(PedFSRef &inRef);
- //virtual void SetType(OSType inType);
- //virtual void SetCreator(OSType inCreator);
- //virtual void SetTypeCreator(OSType inType, OSType inCreator);
-
- //virtual PedFSRef &Parent();
- //virtual unsigned char *Name();
- //virtual OSType Type();
- //virtual OSType Creator();
- //virtual Boolean IsLocked();
- //virtual Boolean IsInvisible();
-
- //virtual void Delete();
- //virtual void Move();
- //virtual void Rename();
- //virtual void MoveRename();
- //virtual void Lock();
- //virtual void Unlock();
-
- virtual AccessPath OpenData(SInt8 inPerm) const;
- virtual AccessPath OpenResFile(SInt8 inPerm) const;
-
- protected:
- PedFSRef *mRef;
- //OSType mType;
- //OSType mCreator;
- };
-