DigitalSpaces::DIFileSystemBrowser Struct Reference
[Core]

#include <Interfaces.h>

Inherits DigitalSpaces::DIObjectBase.


Detailed Description

Interface for prompting the user to select a local file or directory.

Public Member Functions

const char * SelectFile (const char *filemaskDescription, const char *filemask)
 Bring up the default File Open dialog.
const char * SelectFolder (const char *requiredFile)
 Bring up the default File Browser dialog, to select a folder to load an XML file from.

Member Function Documentation

const char* DigitalSpaces::DIFileSystemBrowser::SelectFile ( const char *  filemaskDescription,
const char *  filemask 
)

Bring up the default File Open dialog.

Parameters:
filemaskDescription A text name describing the file type being selected, e.g. "XML Files".
filemask A text wildcard that filters the file list, e.g. "*.xml"
Note:
Somone familiar with the Win32 API might think that you can provide multiple filemasks by seperating them with \0 characters. This is not the case.

const char* DigitalSpaces::DIFileSystemBrowser::SelectFolder ( const char *  requiredFile  ) 

Bring up the default File Browser dialog, to select a folder to load an XML file from.

Parameters:
requiredFile The name of a file that must be present in the folder. This file must be an XML. There is no value which will mean "any folder at all is ok".


The documentation for this struct was generated from the following file:

Generated on Fri Aug 22 18:12:10 2008 for Digital Spaces by  doxygen 1.5.6