Loading...
Searching...
No Matches
Public Member Functions | List of all members
BRefFilter Class Referenceabstract

Allows you to filter the items displayed in a file panel. More...

Public Member Functions

virtual bool Filter (const entry_ref *ref, BNode *node, struct stat_beos *stat, const char *mimeType)=0
 Hook method that's called on each file in the target directory displayed by a file panel.
 

Detailed Description

Allows you to filter the items displayed in a file panel.

Since
BeOS R3

Member Function Documentation

◆ Filter()

bool BRefFilter::Filter ( const entry_ref ref,
BNode node,
struct stat_beos *  stat,
const char *  mimeType 
)
pure virtual

Hook method that's called on each file in the target directory displayed by a file panel.

Parameters
refThe file currently under consideration.
nodeThe node currently under consideration.
statThe stat information of the file.
mimeTypeThe MIME type of the file.
Returns
Whether or not the entry is a valid candidate for an open/save dialog.
See also
BFilePanel::SetRefFilter()
Since
BeOS R3