* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=61175
This commit is contained in:
Amine Khaldi 2013-12-01 14:37:32 +00:00
parent 2fd3f69f6b
commit ce73bb5dce
4 changed files with 50 additions and 2 deletions

View file

@ -5,11 +5,18 @@ spec2def(oleacc.dll oleacc.spec ADD_IMPORTLIB)
list(APPEND SOURCE list(APPEND SOURCE
main.c main.c
oleacc.rc
${CMAKE_CURRENT_BINARY_DIR}/oleacc_stubs.c ${CMAKE_CURRENT_BINARY_DIR}/oleacc_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/oleacc.def) ${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
add_library(oleacc SHARED ${SOURCE}) add_typelib(oleacc_classes.idl)
list(APPEND oleacc_rc_deps
${CMAKE_CURRENT_SOURCE_DIR}/oleacc_classes.rgs
${CMAKE_CURRENT_BINARY_DIR}/oleacc_classes.tlb)
set_source_files_properties(oleacc.rc PROPERTIES OBJECT_DEPENDS "${oleacc_rc_deps}")
add_library(oleacc SHARED ${SOURCE} oleacc.rc)
set_module_type(oleacc win32dll) set_module_type(oleacc win32dll)
target_link_libraries(oleacc wine) target_link_libraries(oleacc wine)
add_importlibs(oleacc user32 msvcrt kernel32 ntdll) add_importlibs(oleacc user32 msvcrt kernel32 ntdll)

View file

@ -21,6 +21,9 @@
//#include "windef.h" //#include "windef.h"
//#include "oleacc.h" //#include "oleacc.h"
1 TYPELIB "oleacc_classes.tlb"
1 WINE_REGISTRY "oleacc_classes.rgs"
#ifdef LANGUAGE_EN_US #ifdef LANGUAGE_EN_US
#include "lang/oleacc_En.rc" #include "lang/oleacc_En.rc"
#endif #endif

View file

@ -0,0 +1,18 @@
/*
* Copyright (C) 2013 Alistair Leslie-Hughes
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "oleacc.idl"

View file

@ -0,0 +1,20 @@
HKCR
{
NoRemove Typelib
{
NoRemove '{1EA4DBF0-3C3B-11CF-810C-00AA00389B71}'
{
'1.1' = s 'Accessibility'
{
'0' { win32 = s '%MODULE%' }
FLAGS = s '4'
}
}
}
NoRemove Interface
{
}
NoRemove CLSID
{
}
}