#include <iostream>#include <windows.h>#include "directory.h"Include dependency graph for windirectory.cpp:

Go to the source code of this file.
Functions | |
| bool | IsDirectory (const std::string &filename) |
| Directory * | OpenDirectory (const std::string &dirname) |
| std::string | WordExp (const std::string &filename) |
|
|
Definition at line 100 of file windirectory.cpp. Referenced by Directory::enumFiles(), and VirtualTexture::populateTileTree(). 00101 {
00102 DWORD attr = GetFileAttributes(const_cast<LPCTSTR>(filename.c_str()));
00103 if (attr == 0xffffffff)
00104 return false;
00105 else
00106 return ((attr & FILE_ATTRIBUTE_DIRECTORY) != 0);
00107 }
|
|
|
Definition at line 94 of file windirectory.cpp. Referenced by Directory::enumFiles(), CelestiaCore::initSimulation(), VirtualTexture::populateTileTree(), and CelestiaCore::readStars(). 00095 {
00096 return new WindowsDirectory(dirname);
00097 }
|
|
|
Definition at line 109 of file windirectory.cpp. Referenced by CelestiaCore::initSimulation(), and ReadCelestiaConfig(). 00109 {
00110 return filename;
00111 }
|
1.4.1