#ifndef INCLUDED_MyFileSys_H #define INCLUDED_MyFileSys_H class MyFileSys : public FileSys { public: MyFileSys(FileSysType type); virtual ~MyFileSys(); virtual void Set(StrPtr const & name); virtual int DoIndirectWrites(); virtual void Translator(CharSetCvt *); virtual void Open(FileOpenMode mode, Error * e); virtual void Write(char const * buf, int len, Error * e); virtual int Read(char * buf, int len, Error * e); virtual void Close(Error * e); virtual int Stat(); virtual int StatModTime(); virtual void Truncate(Error * e); virtual void Unlink(Error * e); virtual void Rename(FileSys * target, Error * e); virtual void Chmod(FilePerm perms, Error * e); virtual void ChmodTime(Error * e); virtual int GetFd(); virtual size_t GetSize(); virtual void Seek(off_t offset); private: MyFileSys(); MyFileSys(MyFileSys &); MyFileSys & operator =(MyFileSys &); private: FileSys * m_fileSys; bool m_writing; }; #endif
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 4963 | Jeff Grills |
Major clean up and code reorganization. Add new dialog to control the directories that are watched. Persist the watched directories in the windows registry. Restore the watched directories when the application is run again. Handle login correctly. Change the way error messages are examined to make them significantly more robust. Issue an "info" command at startup to make sure we can communicate with the server and get logged in. Change the icon to the standard P4 icon. Allow the dialog to be minimized to the systray. Clicking on the systray icon will show the dialog again. |