/* * Search.h -- MCDE: dtfile's search over folders (Search.c) * * License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree. */ #ifndef _Search_h #define _Search_h #include "FileMgr.h" enum McdeSearchWhen { MCDE_SEARCH_ANY = 0, MCDE_SEARCH_TODAY, MCDE_SEARCH_YESTERDAY, MCDE_SEARCH_WEEK }; /* the search window: NAME in the file name (NULL: any), WHEN the file was * changed, SCOPE the folder to walk (NULL: the home folder). A saved search * (~/.dt/searches/NAME.search) comes back with it. */ extern void _McdeSearchShow(FileMgrRec *rec, const char *name, int when, const char *scope); #endif /* _Search_h */