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>
43 lines
2.0 KiB
C
43 lines
2.0 KiB
C
/*
|
|
* Navigation.h -- MCDE: the navigation parts of the file manager window (Navigation.c)
|
|
*
|
|
* License: CNCL 1.0 (Could Not Care Less), see LICENSE at the top of the tree.
|
|
*/
|
|
|
|
#ifndef _Navigation_h
|
|
#define _Navigation_h
|
|
|
|
/* the form that holds toolbar, sidebar and (after _McdeNavAttachWork) the
|
|
* work area; it becomes the main window's work window */
|
|
extern Widget _McdeNavCreate(FileMgrRec *rec, Widget parent);
|
|
extern void _McdeNavAttachWork(FileMgrRec *rec, Widget work);
|
|
/* called by ShowNewDirectory for every directory the window shows */
|
|
extern void _McdeNavVisit(FileMgrRec *rec, const char *dir);
|
|
/* appends ", 12.3 GB available" to the status text in buf */
|
|
/* go to PATH as the "Go To" dialog does (Columns.c) */
|
|
extern void _McdeNavGoTo(FileMgrRec *rec, const char *path);
|
|
/* a Command-key command of the window (FileMgr.c's McdeKey action):
|
|
* "back", "forward", "icons", "small", "list", "columns", "strip",
|
|
* "computer",
|
|
* "desktop", "applications", "network"; False if it is none of them */
|
|
extern Boolean _McdeNavKey(FileMgrRec *rec, const char *what);
|
|
/* the column view (Columns.c) */
|
|
extern void _McdeColumnsCreate(FileMgrRec *rec, Widget parent, Widget work);
|
|
extern void _McdeColumnsShow(FileMgrRec *rec, Widget work, const char *dir,
|
|
Boolean on);
|
|
extern void _McdeColumnsFollow(FileMgrRec *rec, const char *dir);
|
|
/* the entry the column view has chosen, or NULL; the caller frees it */
|
|
extern char *_McdeColumnsChosen(FileMgrRec *rec);
|
|
/* the network view (NetView.c) */
|
|
extern void _McdeNetCreate(FileMgrRec *rec, Widget parent, Widget work);
|
|
extern void _McdeNetShow(FileMgrRec *rec, Boolean on);
|
|
/* "Connect to Server": shows the network view with the address field, as
|
|
* Command+K asks for it */
|
|
extern void _McdeNetConnect(FileMgrRec *rec);
|
|
extern void _McdeNavFreeSpace(const char *dir, char *buf, size_t len);
|
|
/* MCDE: the search field of the window of DATA: is NAME hidden by it
|
|
* (FilterFiles in File.c asks for every file) */
|
|
extern Boolean _McdeNavHidden(FileMgrData *data, const char *name);
|
|
|
|
#endif /* _Navigation_h */
|