From f4ce2a5433d816f644f9dd331fefa99411efbe6d Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Wed, 3 Mar 2004 20:33:21 +0000 Subject: [PATCH] correct jump_to() functions svn path=/trunk/; revision=8523 --- reactos/subsys/system/explorer/shell/filechild.cpp | 2 +- reactos/subsys/system/explorer/shell/filechild.h | 2 +- reactos/subsys/system/explorer/shell/shellbrowser.h | 3 ++- reactos/subsys/system/explorer/shell/webchild.cpp | 2 +- reactos/subsys/system/explorer/shell/webchild.h | 2 +- reactos/subsys/system/explorer/utility/window.h | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/reactos/subsys/system/explorer/shell/filechild.cpp b/reactos/subsys/system/explorer/shell/filechild.cpp index e1ddb0db808..eb0b572d9a2 100644 --- a/reactos/subsys/system/explorer/shell/filechild.cpp +++ b/reactos/subsys/system/explorer/shell/filechild.cpp @@ -644,7 +644,7 @@ int FileChildWindow::Notify(int id, NMHDR* pnmh) } -void FileChildWindow::jump_to(void* path) +void FileChildWindow::jump_to(LPCTSTR path) { //@@ diff --git a/reactos/subsys/system/explorer/shell/filechild.h b/reactos/subsys/system/explorer/shell/filechild.h index f4d17f64274..8f038900247 100644 --- a/reactos/subsys/system/explorer/shell/filechild.h +++ b/reactos/subsys/system/explorer/shell/filechild.h @@ -100,7 +100,7 @@ protected: int Notify(int id, NMHDR* pnmh); virtual void resize_children(int cx, int cy); - virtual void jump_to(void* path); + virtual void jump_to(LPCTSTR path); void scan_entry(Entry* entry, HWND hwnd); diff --git a/reactos/subsys/system/explorer/shell/shellbrowser.h b/reactos/subsys/system/explorer/shell/shellbrowser.h index 0df72a068c7..7ff89de3e2f 100644 --- a/reactos/subsys/system/explorer/shell/shellbrowser.h +++ b/reactos/subsys/system/explorer/shell/shellbrowser.h @@ -125,7 +125,8 @@ protected: int InsertSubitems(HTREEITEM hParentItem, Entry* entry, IShellFolder* pParentFolder); bool InitDragDrop(); - virtual void jump_to(void* path); + virtual void jump_to(LPCTSTR path); + void jump_to(LPCITEMIDLIST pidl); HRESULT OnDefaultCommand(LPIDA pida); diff --git a/reactos/subsys/system/explorer/shell/webchild.cpp b/reactos/subsys/system/explorer/shell/webchild.cpp index e53acbe0a4a..f6e6dc74159 100644 --- a/reactos/subsys/system/explorer/shell/webchild.cpp +++ b/reactos/subsys/system/explorer/shell/webchild.cpp @@ -288,7 +288,7 @@ LRESULT WebChildWindow::WndProc(UINT message, WPARAM wparam, LPARAM lparam) } -void WebChildWindow::jump_to(void* path) +void WebChildWindow::jump_to(LPCTSTR path) { //@@ diff --git a/reactos/subsys/system/explorer/shell/webchild.h b/reactos/subsys/system/explorer/shell/webchild.h index 25e7dbbb5e4..fb7174d40c2 100644 --- a/reactos/subsys/system/explorer/shell/webchild.h +++ b/reactos/subsys/system/explorer/shell/webchild.h @@ -1076,5 +1076,5 @@ protected: LRESULT WndProc(UINT message, WPARAM wparam, LPARAM lparam); - virtual void jump_to(void* path); + virtual void jump_to(LPCTSTR path); }; diff --git a/reactos/subsys/system/explorer/utility/window.h b/reactos/subsys/system/explorer/utility/window.h index 62edba0ab57..02d7b90f13c 100644 --- a/reactos/subsys/system/explorer/utility/window.h +++ b/reactos/subsys/system/explorer/utility/window.h @@ -293,7 +293,7 @@ protected: LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam); virtual void resize_children(int cx, int cy); - virtual void jump_to(void* path) = 0; + virtual void jump_to(LPCTSTR path) = 0; protected: MenuInfo*_menu_info;