2 * Copyright 2003, 2004 Martin Fuchs
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 // Martin Fuchs, 23.07.2003
29 #include "utility/shellclasses.h"
31 #include "shell/entries.h"
33 #include "shell/winfs.h"
34 #include "shell/shellfs.h"
37 #include "shell/unixfs.h"
40 #include "utility/window.h"
43 #define IDW_STATUSBAR 0x100
44 #define IDW_TOOLBAR 0x101
45 #define IDW_EXTRABAR 0x102
46 #define IDW_DRIVEBAR 0x103
47 #define IDW_ADDRESSBAR 0x104
48 #define IDW_COMMANDBAR 0x105
49 #define IDW_SIDEBAR 0x106
50 #define IDW_FIRST_CHILD 0xC000 /*0x200*/
53 #define PM_GET_FILEWND_PTR (WM_APP+0x05)
54 #define PM_GET_SHELLBROWSER_PTR (WM_APP+0x06)
56 #define PM_GET_CONTROLWINDOW (WM_APP+0x16)
58 #define PM_RESIZE_CHILDREN (WM_APP+0x17)
59 #define PM_GET_WIDTH (WM_APP+0x18)
61 #define PM_REFRESH (WM_APP+0x1B)
62 #define PM_REFRESH_CONFIG (WM_APP+0x1C)
65 #define CLASSNAME_FRAME TEXT("CabinetWClass") // same class name for frame window as in MS Explorer
67 #define CLASSNAME_CHILDWND TEXT("WFS_Child")
68 #define CLASSNAME_WINEFILETREE TEXT("WFS_Tree")
71 #include "shell/pane.h"
72 #include "shell/filechild.h"
73 #include "shell/shellbrowser.h"
78 /// Explorer command line parser
79 // for commands like "/e,/root,c:\"
80 // or "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}" (launch of control panel)
85 _cmdShow(SW_SHOWNORMAL
),
91 ExplorerCmd(LPCTSTR url
, bool mdi
)
94 _cmdShow(SW_SHOWNORMAL
),
96 _valid_path(true) //@@
100 bool ParseCmdLine(LPCTSTR lpCmdLine
);
101 bool EvaluateOption(LPCTSTR option
);
102 bool IsValidPath() const;
105 int _flags
; // OPEN_WINDOW_MODE
111 #include "shell/mainframe.h"