LICENSE at the root; the 103 files new in ext/src/mcde (none was in the CDE import) carry the CNCL line instead of the LGPL notice. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
26 lines
651 B
C
26 lines
651 B
C
/*
|
|
* 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 */
|