You may return to the Cvo Object Documenation Index from this document. This document contains the following sections describing the Cvo_SaveFileInfo object:
Cvo_SaveFileInfo
#include
<Cvo/OpenFile.h++>
new
Cvo_SaveFileInfo ( char *resource )
This object is used to set data for the Cvo__OpenFile object. As the Cvo__OpenFile object is generally created from a menu, such as the Cvo_Menu object, it is difficult to specify attributes for that Cvo__OpenFile object. A Cvo_SaveFileInfo object may be created, and a pointer to it passed to the Cvo__OpenFile object during construction. Then, Cvo__OpenFile will obtain various data information from the Cvo_SaveFileInfo object. This data includes:
void *
data element to be passed with the CvoSaveFileEvent
.
This object defines the following member functions.
SetData (
void *data )
The Cvo_SaveFileEvent
structure has a void *
element,
data. This member function is used to provide the pointer,
data which will be passed in the Cvo_SaveFileEvent
structure.
SetEntry (
char *path )
This member function sets the file path which will appear in the Cvo__OpenFile object's window. The file path, path, may include a filename as well as a directory. The Cvo__OpenFile object will use the directory specified in path to find files and directories to be displayed in the appropriate lists.
See the example source code for an example of how to use this object.
See the legend for information about the conventions used in this documentation.