/*
* tkFileFilter.h --
*
* Declarations for the file filter processing routines needed by
* the file selection dialogs.
*
* Copyright (c) 1996 Sun Microsystems, Inc.
*
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* SCCS: @(#) tkFileFilter.h 1.1 96/08/27 15:05:38
*
*/
#ifndef _TK_FILE_FILTER
#define _TK_FILE_FILTER
#ifdef MAC_TCL
#include <StandardFile.h>
#else
#define OSType long
#endif
typedef struct GlobPattern {
* in a glob pattern list */
* as "*.txt" or "*.*"
*/
} GlobPattern;
typedef struct MacFileType {
* in a mac file type list */
* 'GIFF' */
} MacFileType;
typedef struct FileFilterClause {
* a clause list */
typedef struct FileFilter {
* in a filter list */
* such as "Text Documents" */
} FileFilter;
/*----------------------------------------------------------------------
* FileFilterList --
*
* The routine TkGetFileFilters() translates the string value of the
* -filefilters option into a FileFilterList structure, which consists
* of a list of file filters.
*
* Each file filter consists of one or more clauses. Each clause has
*----------------------------------------------------------------------
*/
typedef struct FileFilterList {
FileFilterList * flistPtr));
FileFilterList * flistPtr));
int isWindows));
#endif