ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

explorer.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2003, 2004 Martin Fuchs
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00017  */
00018 
00019 
00020  //
00021  // Explorer clone
00022  //
00023  // explorer.h
00024  //
00025  // Martin Fuchs, 23.07.2003
00026  //
00027 
00028 
00029 #define _LIGHT_STARTMENU
00030 #define _LAZY_ICONEXTRACT
00031 #define _SINGLE_ICONEXTRACT
00032 //#define _NO_WIN_FS
00033 
00034 
00035 #include "utility/shellclasses.h"
00036 
00037 #include "shell/entries.h"
00038 
00039 #ifndef _NO_WIN_FS
00040 #include "shell/winfs.h"
00041 #endif
00042 
00043 #include "shell/shellfs.h"
00044 
00045 #ifndef ROSSHELL
00046 #include "shell/unixfs.h"
00047 #endif
00048 
00049 #include "utility/window.h"
00050 
00051 
00052 #define IDW_STATUSBAR           0x100
00053 #define IDW_TOOLBAR             0x101
00054 #define IDW_EXTRABAR            0x102
00055 #define IDW_DRIVEBAR            0x103
00056 #define IDW_ADDRESSBAR          0x104
00057 #define IDW_SIDEBAR             0x106
00058 #define IDW_FIRST_CHILD         0xC000  /*0x200*/
00059 
00060 
00061 #define PM_GET_FILEWND_PTR      (WM_APP+0x05)
00062 #define PM_GET_SHELLBROWSER_PTR (WM_APP+0x06)
00063 
00064 #define PM_GET_CONTROLWINDOW    (WM_APP+0x16)
00065 
00066 #define PM_RESIZE_CHILDREN      (WM_APP+0x17)
00067 #define PM_GET_WIDTH            (WM_APP+0x18)
00068 
00069 #define PM_REFRESH              (WM_APP+0x1B)
00070 #define PM_REFRESH_CONFIG       (WM_APP+0x1C)
00071 
00072 
00073 #define CLASSNAME_FRAME         TEXT("CabinetWClass")   // same class name for frame window as in MS Explorer
00074 
00075 #define CLASSNAME_CHILDWND      TEXT("WFS_Child")
00076 #define CLASSNAME_WINEFILETREE  TEXT("WFS_Tree")
00077 
00078 
00079 #include "shell/pane.h"
00080 #include "shell/filechild.h"
00081 #include "shell/shellbrowser.h"
00082 
00083 
00084 #ifndef ROSSHELL
00085 
00087  // for commands like "/e,/root,c:\"
00088  // or "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\::{21EC2020-3AEA-1069-A2DD-08002B30309D}" (launch of control panel)
00089 struct ExplorerCmd
00090 {
00091     ExplorerCmd()
00092      :  _flags(0),
00093         _cmdShow(SW_SHOWNORMAL),
00094         _mdi(false),
00095         _valid_path(false)
00096     {
00097     }
00098 
00099     ExplorerCmd(LPCTSTR url, bool mdi)
00100      :  _path(url),
00101         _flags(0),
00102         _cmdShow(SW_SHOWNORMAL),
00103         _mdi(mdi),
00104         _valid_path(true)   //@@
00105     {
00106     }
00107 
00108     bool    ParseCmdLine(LPCTSTR lpCmdLine);
00109     bool    EvaluateOption(LPCTSTR option);
00110     bool    IsValidPath() const;
00111 
00112     String  _path;
00113     WCHAR   szPath[MAX_PATH];
00114     int     _flags; // OPEN_WINDOW_MODE
00115     int     _cmdShow;
00116     bool    _mdi;
00117     bool    _valid_path;
00118 };
00119 
00120 #include "shell/mainframe.h"
00121 
00122 #endif

Generated on Sat May 26 2012 04:17:29 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.