6 * Copyright (C) 2002 Robert Dickenson <robd@reactos.org>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
31 typedef struct _Entry
{
43 #ifndef _NO_EXTENSIONS
44 BY_HANDLE_FILE_INFORMATION bhfi
;
58 //enum SORT_ORDER { SORT_BY_NAME, SORT_BY_TYPE, SORT_BY_SIZE, SORT_BY_DATE };
63 TCHAR volname
[_MAX_FNAME
];
73 #ifndef _NO_EXTENSIONS
79 int positions
[COLUMNS
+1];
89 int nFocusPanel
; // 0: left 1: right
92 TCHAR szPath
[MAX_PATH
];
104 void insert_entries(HWND hWnd
, Entry
* parent
, int idx
);
105 void scan_entry(ChildWnd
* child
, Entry
* entry
);
106 void activate_entry(ChildWnd
* child
, Pane
* pane
);
107 void collapse_entry(Pane
* pane
, Entry
* dir
);
108 BOOL
expand_entry(ChildWnd
* child
, Entry
* dir
);
109 Entry
* find_entry_win(Entry
* parent
, LPCTSTR name
);
110 void free_entries(Entry
* parent
);
111 Entry
* read_tree_win(Root
* root
, LPCTSTR path
, int sortOrder
);
119 #endif // __ENTRIES_H__