26 #ifndef _QORE_QOREFILE_H
28 #define _QORE_QOREFILE_H
49 struct qore_qf_private *priv;
56 DLLLOCAL QoreFile&
operator=(
const QoreFile&);
94 DLLEXPORT
int close();
103 DLLEXPORT
int sync();
490 #if (!defined _WIN32 && !defined __WIN32__) || defined __CYGWIN__
531 DLLEXPORT
int preallocate(fstore_t &fs,
ExceptionSink *xsink);
535 DLLEXPORT
int getFD()
const;
538 DLLEXPORT
bool isOpen()
const;
541 DLLEXPORT
bool isTty()
const;
550 DLLLOCAL
void makeSpecial(
int sfd);
559 class QoreFileHelper : QorePrivateObjectAccessHelper {
562 DLLEXPORT ~QoreFileHelper();
563 DLLEXPORT
QoreFile* operator*()
const;
564 DLLEXPORT
QoreFile* operator->()
const;
567 #endif // _QORE_QOREFILE_H