ReactOS 0.4.15-dev-8636-g945e856
|
base of all file and directory entries More...
#include <entries.h>
Public Member Functions | |
virtual | ~Entry () |
void | free_subentries () |
void | read_directory_base (SORT_ORDER sortOrder=SORT_NAME, int scan_flags=0) |
Entry * | read_tree (const void *path, SORT_ORDER sortOrder=SORT_NAME, int scan_flags=0) |
void | sort_directory (SORT_ORDER sortOrder) |
void | smart_scan (SORT_ORDER sortOrder=SORT_NAME, int scan_flags=0) |
int | extract_icon (ICONCACHE_FLAGS flags=ICF_NORMAL) |
int | safe_extract_icon (ICONCACHE_FLAGS flags=ICF_NORMAL) |
virtual void | read_directory (int scan_flags=0) |
virtual const void * | get_next_path_component (const void *) const |
virtual Entry * | find_entry (const void *) |
virtual bool | get_path (PTSTR path, size_t path_count) const =0 |
virtual ShellPath | create_absolute_pidl () const |
virtual HRESULT | GetUIObjectOf (HWND hWnd, REFIID riid, LPVOID *ppvOut) |
virtual ShellFolder | get_shell_folder () const |
virtual BOOL | launch_entry (HWND hwnd, UINT nCmdShow=SW_SHOWNORMAL) |
virtual HRESULT | do_context_menu (HWND hwnd, const POINT &pos, CtxMenuInterfaces &cm_ifs) |
Protected Member Functions | |
Entry (ENTRY_TYPE etype) | |
Entry (Entry *parent, ENTRY_TYPE etype) | |
Entry (const Entry &) | |
bool | get_path_base (PTSTR path, size_t path_count, ENTRY_TYPE etype) const |
|
protected |
Definition at line 35 of file entries.cpp.
Referenced by AppendGenericListEntry(), CenterCurrentListItem(), ClasspInsertCScanList(), DoLAYOUT(), EventCallback(), GetNextListEntry(), KspAddCreateItemToList(), KspCreateDeviceReference(), KspQueryBusRelations(), ScrollDownGenericList(), ScrollToPositionGenericList(), ScrollUpGenericList(), SmpConfigureSubSystems(), SmpSaveRegistryValue(), WdmAudOpenSysAudioDeviceInterfaces(), and WdmAudOpenSysAudioDevices().
|
protected |
Definition at line 51 of file entries.cpp.
Definition at line 68 of file entries.cpp.
|
virtual |
Definition at line 97 of file entries.cpp.
|
inlinevirtual |
Reimplemented in FATEntry, ShellEntry, and WinEntry.
Definition at line 126 of file entries.h.
Referenced by ShellEntry::create_absolute_pidl(), do_context_menu(), extract_icon(), and get_shell_folder().
|
virtual |
Reimplemented in ShellEntry.
Definition at line 519 of file entries.cpp.
int Entry::extract_icon | ( | ICONCACHE_FLAGS | flags = ICF_NORMAL | ) |
Definition at line 365 of file entries.cpp.
Referenced by safe_extract_icon().
Reimplemented in FATDirectory, NtObjDirectory, RegDirectory, ShellDirectory, and WinDirectory.
Definition at line 124 of file entries.h.
void Entry::free_subentries | ( | ) |
Definition at line 743 of file entries.cpp.
Referenced by smart_scan(), ~Entry(), Root::~Root(), and StartMenuDirectory::~StartMenuDirectory().
Reimplemented in FATDirectory, RegDirectory, ShellDirectory, and WinDirectory.
Definition at line 123 of file entries.h.
Implemented in FATEntry, NtObjEntry, RegEntry, ShellEntry, ShellDirectory, and WinEntry.
Referenced by extract_icon(), GetUIObjectOf(), launch_entry(), and FileChildWindow::WndProc().
|
protected |
Definition at line 639 of file entries.cpp.
Referenced by NtObjEntry::get_path(), RegEntry::get_path(), and WinEntry::get_path().
|
virtual |
Reimplemented in ShellEntry, and ShellDirectory.
Definition at line 237 of file shellfs.cpp.
Reimplemented in ShellEntry.
Definition at line 581 of file entries.cpp.
Referenced by extract_icon().
|
virtual |
Reimplemented in NtObjEntry, RegEntry, and ShellEntry.
Definition at line 443 of file entries.cpp.
Referenced by QuickLaunchBar::Command().
Reimplemented in FATDirectory, NtObjDirectory, RegDirectory, RegistryRoot, ShellDirectory, and WinDirectory.
Definition at line 122 of file entries.h.
Referenced by read_directory_base().
void Entry::read_directory_base | ( | SORT_ORDER | sortOrder = SORT_NAME , |
int | scan_flags = 0 |
||
) |
Definition at line 143 of file entries.cpp.
Referenced by smart_scan().
Entry * Entry::read_tree | ( | const void * | path, |
SORT_ORDER | sortOrder = SORT_NAME , |
||
int | scan_flags = 0 |
||
) |
Definition at line 119 of file entries.cpp.
Referenced by Root::read_tree().
int Entry::safe_extract_icon | ( | ICONCACHE_FLAGS | flags = ICF_NORMAL | ) |
Definition at line 431 of file entries.cpp.
void Entry::smart_scan | ( | SORT_ORDER | sortOrder = SORT_NAME , |
int | scan_flags = 0 |
||
) |
Definition at line 353 of file entries.cpp.
Referenced by QuickLaunchBar::AddShortcuts(), ShellBrowser::jump_to(), and Root::read_tree().
void Entry::sort_directory | ( | SORT_ORDER | sortOrder | ) |
Definition at line 321 of file entries.cpp.
Referenced by read_directory_base().
BY_HANDLE_FILE_INFORMATION Entry::_bhfi |
LPTSTR Entry::_content |
WIN32_FIND_DATA Entry::_data |
Definition at line 100 of file entries.h.
Referenced by compareDate(), compareExt(), compareName(), compareSize(), compareType(), Entry(), GetUIObjectOf(), RegistryRoot::read_directory(), RegDirectory::RegDirectory(), ShellDirectory::ShellDirectory(), and ~Entry().
LPTSTR Entry::_display_name |
Entry* Entry::_down |
Definition at line 93 of file entries.h.
Referenced by QuickLaunchBar::AddShortcuts(), Entry(), ShellDirectory::extract_icons(), NtObjDirectory::find_entry(), RegDirectory::find_entry(), ShellDirectory::find_entry(), WinDirectory::find_entry(), free_subentries(), NtObjDirectory::read_directory(), RegDirectory::read_directory(), RegistryRoot::read_directory(), ShellDirectory::read_directory(), WinDirectory::read_directory(), read_directory_base(), Root::read_tree(), sort_directory(), and ~Entry().
ENTRY_TYPE Entry::_etype |
Definition at line 107 of file entries.h.
Referenced by ShellEntry::create_absolute_pidl(), Entry(), and extract_icon().
bool Entry::_expanded |
Definition at line 96 of file entries.h.
Referenced by Entry(), Root::read_tree(), and FileChildWindow::refresh().
int Entry::_level |
Definition at line 98 of file entries.h.
Referenced by FileChildWindow::collapse_entry(), Entry(), NtObjDirectory::read_directory(), RegDirectory::read_directory(), RegistryRoot::read_directory(), ShellDirectory::read_directory(), WinDirectory::read_directory(), and FileChildWindow::scan_entry().
bool Entry::_scanned |
Definition at line 97 of file entries.h.
Referenced by Entry(), NtObjDirectory::read_directory(), RegDirectory::read_directory(), RegistryRoot::read_directory(), ShellDirectory::read_directory(), WinDirectory::read_directory(), and smart_scan().
SFGAOF Entry::_shell_attribs |
Definition at line 102 of file entries.h.
Referenced by compareType(), Entry(), and ShellDirectory::ShellDirectory().
LPTSTR Entry::_type_name |
Entry* Entry::_up |
Definition at line 94 of file entries.h.
Referenced by FileChildWindow::activate_entry(), ShellEntry::create_absolute_pidl(), ShellEntry::do_context_menu(), Entry(), ShellEntry::get_parent_folder(), and GetUIObjectOf().