FileNavigator

This class initiates a modal dialogue with the user to obtain a File. The user is presented with a dialogue box which shows all the names of files in a specified directory that match a given filter pattern. The user is able to navigate to higher and lower directories in the file system in search of the desired File.

[ Index | Source | Summary | Member Functions ]

Quick Index


Class Summary

class FileNavigator
{

public:
FileNavigator(char* path, char* filter);
FileNavigator(char* path);
FileNavigator();
File AskUser();
~FileNavigator();
}; // FileNavigator

Back to the top of FileNavigator


FileNavigator(char* path, char* filter);

Construct a FileNavigator object that will, when the dialogue is initiated, begin the navigation at the specified directory and using the specified filter pattern.

     FileNavigator(char* path, char* filter);   

Back to the top of FileNavigator


FileNavigator(char* path);

Construct a FileNavigator object that will, when the dialogue is initiated, begin the navigation at the specified directory.

     FileNavigator(char* path);                 

Back to the top of FileNavigator


FileNavigator();

Construct a FileNavigator object that will, when the dialogue is initiated, begin the navigation at the user's current working directory. No filtering of filenames is done.

     FileNavigator();  

Back to the top of FileNavigator


File AskUser();

Initiate the dialogue. This method does not return until the user has dismissed the dialogue box. The method returns a File object describing the result of the users action.

File AskUser();                                 

Back to the top of FileNavigator


~FileNavigator();

Reclaim all resources associated with the FileNavigator object when the object is destructed.

    ~FileNavigator();                           

Back to the top of FileNavigator


Member Functions

public:
File AskUser();

Back to the top of FileNavigator


Generated from source by the Cocoon utilities on Thu Apr 02 12:39:39 1998 .

Report problems to jkotula@unimax.com