[RSHELL][SHELL32]

- Move rshell source files to a "shellmenu" static library under shell32
CORE-9892

svn path=/trunk/; revision=68763
This commit is contained in:
Thomas Faber 2015-08-19 09:05:54 +00:00
parent f85fcfe77b
commit cc3d477818
22 changed files with 38 additions and 22 deletions

View file

@ -2,22 +2,14 @@ PROJECT(SHELL)
set_cpp(WITH_RUNTIME) set_cpp(WITH_RUNTIME)
include_directories(${REACTOS_SOURCE_DIR}/lib/atl) include_directories(
${REACTOS_SOURCE_DIR}/lib/atl
${REACTOS_SOURCE_DIR}/dll/win32/shell32/shellmenu)
spec2def(rshell.dll rshell.spec ADD_IMPORTLIB) spec2def(rshell.dll rshell.spec ADD_IMPORTLIB)
list(APPEND SOURCE list(APPEND SOURCE
CBandSite.cpp
CDesktopBrowser.cpp
CMenuBand.cpp
CMenuDeskBar.cpp
CMenuFocusManager.cpp
CMenuSite.cpp
CMenuToolbars.cpp
CMergedFolder.cpp
CStartMenu.cpp
misc.cpp misc.cpp
ShellDDE.cpp
${CMAKE_CURRENT_BINARY_DIR}/rshell.def) ${CMAKE_CURRENT_BINARY_DIR}/rshell.def)
add_library(rshell SHARED ${SOURCE}) add_library(rshell SHARED ${SOURCE})
@ -25,6 +17,7 @@ add_library(rshell SHARED ${SOURCE})
set_module_type(rshell win32dll UNICODE) set_module_type(rshell win32dll UNICODE)
target_link_libraries(rshell target_link_libraries(rshell
shellmenu
atlnew atlnew
uuid uuid
wine) wine)

View file

@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "precomp.h" #include "shellmenu.h"
DWORD WINAPI WinList_Init(void) DWORD WINAPI WinList_Init(void)
{ {

View file

@ -1,5 +1,7 @@
PROJECT(SHELL) PROJECT(SHELL)
add_subdirectory(shellmenu)
set_cpp(WITH_RUNTIME) set_cpp(WITH_RUNTIME)
spec2def(shell32.dll shell32.spec ADD_IMPORTLIB) spec2def(shell32.dll shell32.spec ADD_IMPORTLIB)

View file

@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "precomp.h" #include "shellmenu.h"
#include <shobjidl.h> #include <shobjidl.h>
#include "CBandSite.h" #include "CBandSite.h"

View file

@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "precomp.h" #include "shellmenu.h"
WINE_DEFAULT_DEBUG_CHANNEL(desktop); WINE_DEFAULT_DEBUG_CHANNEL(desktop);

View file

@ -0,0 +1,21 @@
PROJECT(SHELL)
set_cpp(WITH_RUNTIME)
add_definitions(-DUNICODE -D_UNICODE)
include_directories(${REACTOS_SOURCE_DIR}/lib/atl)
list(APPEND SOURCE
CBandSite.cpp
CDesktopBrowser.cpp
CMenuBand.cpp
CMenuDeskBar.cpp
CMenuFocusManager.cpp
CMenuSite.cpp
CMenuToolbars.cpp
CMergedFolder.cpp
CStartMenu.cpp
ShellDDE.cpp)
add_library(shellmenu ${SOURCE})

View file

@ -17,7 +17,7 @@
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "precomp.h" #include "shellmenu.h"
#include <windowsx.h> #include <windowsx.h>
#include <commoncontrols.h> #include <commoncontrols.h>
#include <shlwapi_undoc.h> #include <shlwapi_undoc.h>

View file

@ -17,7 +17,7 @@
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "precomp.h" #include "shellmenu.h"
#include <atlwin.h> #include <atlwin.h>
#include <shlwapi_undoc.h> #include <shlwapi_undoc.h>

View file

@ -39,7 +39,7 @@ While a system popup is open, it tracks the mouse movements so that it can cance
and switch to another submenu when the mouse goes over another item from the parent. and switch to another submenu when the mouse goes over another item from the parent.
*/ */
#include "precomp.h" #include "shellmenu.h"
#include <windowsx.h> #include <windowsx.h>
#include <commoncontrols.h> #include <commoncontrols.h>
#include <shlwapi_undoc.h> #include <shlwapi_undoc.h>

View file

@ -17,7 +17,7 @@
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "precomp.h" #include "shellmenu.h"
#include <atlwin.h> #include <atlwin.h>
#include <shlwapi_undoc.h> #include <shlwapi_undoc.h>

View file

@ -17,7 +17,7 @@
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "precomp.h" #include "shellmenu.h"
#include <commoncontrols.h> #include <commoncontrols.h>
#include <shlwapi_undoc.h> #include <shlwapi_undoc.h>
#include <uxtheme.h> #include <uxtheme.h>

View file

@ -17,7 +17,7 @@
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "precomp.h" #include "shellmenu.h"
#include <atlwin.h> #include <atlwin.h>
#include <shlwapi_undoc.h> #include <shlwapi_undoc.h>

View file

@ -17,7 +17,7 @@
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include "precomp.h" #include "shellmenu.h"
#include "CMergedFolder.h" #include "CMergedFolder.h"

View file

@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "precomp.h" #include "shellmenu.h"
#include <ddeml.h> #include <ddeml.h>
#include <strsafe.h> #include <strsafe.h>
#include <shlwapi_undoc.h> #include <shlwapi_undoc.h>