]> git.lyx.org Git - lyx.git/blobdiff - src/support/FileInfo.h
noncopyable + read ChangeLog
[lyx.git] / src / support / FileInfo.h
index 614a8b159660d7368a0b727d96890e7094470634..47802465ba2f647fa664ffdb55b4f30cdc025a8e 100644 (file)
@@ -5,13 +5,17 @@
  *           LyX, The Document Processor
  *        
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-1999 The LyX Team.
+ *           Copyright 1995-2000 The LyX Team.
  *
  * ====================================================== */
 
 #ifndef FILE_INFO_H
 #define FILE_INFO_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include <ctime>
 
 #include <unistd.h>
@@ -29,9 +33,11 @@ public:
        /** Get information about file.
            If link is true, the information is about the link itself, not
            the file that is obtained by tracing the links. */
+       explicit
        FileInfo(string const & path, bool link = false);
 
        /// File descriptor
+       explicit
        FileInfo(int fildes);
 
        /// Query a new file
@@ -46,9 +52,6 @@ public:
        /// File protection mode
        mode_t getMode() const;
 
-       /// Get "preferred" block size for efficient file system I/O
-       long getBlockSize() const;
-       
        /// Constructs standard mode string (ls style)
        void modeString(char * szString) const;