/usr/include/falcon/dir_sys_win.h is in falconpl-dev 0.9.6.9-git20120606-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | /*
FALCON - The Falcon Programming Language.
FILE: dir_win.h
Support for directory oriented operations in unix systems
-------------------------------------------------------------------
Author: Giancarlo Niccolai
Begin: dom nov 7 2004
-------------------------------------------------------------------
(C) Copyright 2004: the FALCON developers (see list in AUTHORS file)
See LICENSE file for licensing details.
*/
/** \file
Support for directory oriented operations in unix systems
*/
#ifndef flc_dir_win_H
#define flc_dir_win_H
#include <windows.h>
#ifndef INVALID_FILE_ATTRIBUTES
#define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
#endif
#include <falcon/dir_sys.h>
namespace Falcon {
class String;
class DirEntry_win: public DirEntry
{
protected:
HANDLE m_handle;
WIN32_FIND_DATAW m_raw_dir;
bool m_first;
uint32 m_lastError;
public:
DirEntry_win( const String &p, HANDLE handle, WIN32_FIND_DATAW dir_data ):
DirEntry(p),
m_first( true ),
m_lastError( 0 ),
m_handle( handle ),
m_raw_dir( dir_data )
{}
~DirEntry_win() {
close();
}
virtual bool read( String &name );
virtual void close();
};
}
#endif
/* end of dir_win.h */
|