NeoMutt  2024-02-01-23-g345d7b
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
private_data.h
Go to the documentation of this file.
1
23#ifndef MUTT_BROWSER_PRIVATE_DATA_H
24#define MUTT_BROWSER_PRIVATE_DATA_H
25
26#include <limits.h>
27#include <stdbool.h>
28#include "lib.h"
29
34{
35 // Parameters passed to dlg_browser()
36 struct Buffer *file;
37 struct Mailbox *mailbox;
38 char ***files;
39 int *numfiles;
40
41 // State of the browser
43 struct Menu *menu;
45 bool multiple;
46 bool folder;
49 struct Buffer *prefix;
51 struct MuttWindow *sbar;
53 bool done;
54};
55
58
59#endif /* MUTT_BROWSER_PRIVATE_DATA_H */
struct BrowserPrivateData * browser_private_data_new(void)
Create new Browser Data.
Definition: private_data.c:55
void browser_private_data_free(struct BrowserPrivateData **ptr)
Free Private Browser Data - Implements MuttWindow::wdata_free() -.
Definition: private_data.c:37
#define PATH_MAX
Definition: mutt.h:42
Key value store.
Private state data for the Browser.
Definition: private_data.h:34
char *** files
Array of selected files.
Definition: private_data.h:38
struct Menu * menu
Menu.
Definition: private_data.h:43
struct Buffer * prefix
Folder prefix string.
Definition: private_data.h:49
bool kill_prefix
Prefix is in use.
Definition: private_data.h:44
bool done
Should we close the Dialog?
Definition: private_data.h:53
struct Buffer * OldLastDir
Previous to last dir.
Definition: private_data.h:48
bool folder
Select folders.
Definition: private_data.h:46
int last_selected_mailbox
Index of last selected Mailbox.
Definition: private_data.h:50
int * numfiles
Number of selected files.
Definition: private_data.h:39
struct Mailbox * mailbox
Mailbox.
Definition: private_data.h:37
struct BrowserState state
State containing list of files/dir/mailboxes.
Definition: private_data.h:42
struct Buffer * file
Buffer for the result.
Definition: private_data.h:36
bool multiple
Allow multiple selections.
Definition: private_data.h:45
struct MuttWindow * win_browser
Browser Window.
Definition: private_data.h:52
struct MuttWindow * sbar
Status Bar.
Definition: private_data.h:51
char goto_swapper[PATH_MAX]
Saved path after <goto-folder>
Definition: private_data.h:47
State of the file/mailbox browser.
Definition: lib.h:114
String manipulation buffer.
Definition: buffer.h:36
A mailbox.
Definition: mailbox.h:79
Definition: lib.h:69