Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
Win32DirectoryResolver Class Reference

`#include <win32DirectoryResolver.h>`

## Public Member Functions
| Win32DirectoryResolver ()
| We cache the IPersistFile interface pointer. More...
virtual | ~Win32DirectoryResolver ()
| Destructor. More...
bool | isDirectory (LPSTR strPathName) const

## Detailed Description

Utility class to resolve a path name and check if it is a directory. If the path points to a short cut it will resolve the real path to the short cut target and check if that is a directory. This allows listing of short cuts to directories in the file dialogs.

## Constructor & Destructor Documentation

Win32DirectoryResolver | ( |  | ) |

We cache the IPersistFile interface pointer.

Constructor

~Win32DirectoryResolver | ( |  | ) |
| virtual

Destructor.

## Member Function Documentation

bool isDirectory | ( | LPSTR | strPathName | ) | const

Check if a file path points to a directory or if it is a shortcut resolve the short cut path and see if that points to a directory.

The documentation for this class was generated from the following files:

- platformWin32/nativeDialogs/win32DirectoryResolver.h
- platformWin32/nativeDialogs/win32DirectoryResolver.cpp