Huw Davies : oledlg: Move paste special dialog stubs to their own
file.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Oct 20 04:45:48 CDT 2006
Module: wine
Branch: master
Commit: 9ce684b98740af940051182b244584314e7fb191
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9ce684b98740af940051182b244584314e7fb191
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Oct 18 16:28:49 2006 +0100
oledlg: Move paste special dialog stubs to their own file.
---
dlls/oledlg/Makefile.in | 3 +-
dlls/oledlg/oledlg_main.c | 20 -----------------
dlls/oledlg/pastespl.c | 52 +++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 54 insertions(+), 21 deletions(-)
diff --git a/dlls/oledlg/Makefile.in b/dlls/oledlg/Makefile.in
index f6525fb..ed51a94 100644
--- a/dlls/oledlg/Makefile.in
+++ b/dlls/oledlg/Makefile.in
@@ -8,7 +8,8 @@ IMPORTS = ole32 comdlg32 user32 advapi
C_SRCS = \
insobjdlg.c \
- oledlg_main.c
+ oledlg_main.c \
+ pastespl.c
RC_SRCS = rsrc.rc
diff --git a/dlls/oledlg/oledlg_main.c b/dlls/oledlg/oledlg_main.c
index 4bf0595..4ff4cfb 100644
--- a/dlls/oledlg/oledlg_main.c
+++ b/dlls/oledlg/oledlg_main.c
@@ -113,26 +113,6 @@ UINT WINAPI OleUIInsertObjectW(LPOLEUIIN
}
/***********************************************************************
- * OleUIPasteSpecialA (OLEDLG.4)
- */
-UINT WINAPI OleUIPasteSpecialA(LPOLEUIPASTESPECIALA lpOleUIPasteSpecial)
-{
- FIXME("(%p): stub\n", lpOleUIPasteSpecial);
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return OLEUI_FALSE;
-}
-
-/***********************************************************************
- * OleUIPasteSpecialW (OLEDLG.22)
- */
-UINT WINAPI OleUIPasteSpecialW(LPOLEUIPASTESPECIALW lpOleUIPasteSpecial)
-{
- FIXME("(%p): stub\n", lpOleUIPasteSpecial);
- SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
- return OLEUI_FALSE;
-}
-
-/***********************************************************************
* OleUIEditLinksA (OLEDLG.5)
*/
UINT WINAPI OleUIEditLinksA(LPOLEUIEDITLINKSA lpOleUIEditLinks)
diff --git a/dlls/oledlg/pastespl.c b/dlls/oledlg/pastespl.c
new file mode 100644
index 0000000..b146983
--- /dev/null
+++ b/dlls/oledlg/pastespl.c
@@ -0,0 +1,52 @@
+/*
+ * OleUIPasteSpecial implementation
+ *
+ * Copyright 2006 Huw Davies
+ *
+ * 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
+ */
+
+#define COM_NO_WINDOWS_H
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "winerror.h"
+#include "wingdi.h"
+#include "winuser.h"
+#include "oledlg.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(ole);
+
+/***********************************************************************
+ * OleUIPasteSpecialA (OLEDLG.4)
+ */
+UINT WINAPI OleUIPasteSpecialA(LPOLEUIPASTESPECIALA lpOleUIPasteSpecial)
+{
+ FIXME("(%p): stub\n", lpOleUIPasteSpecial);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return OLEUI_FALSE;
+}
+
+/***********************************************************************
+ * OleUIPasteSpecialW (OLEDLG.22)
+ */
+UINT WINAPI OleUIPasteSpecialW(LPOLEUIPASTESPECIALW lpOleUIPasteSpecial)
+{
+ FIXME("(%p): stub\n", lpOleUIPasteSpecial);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return OLEUI_FALSE;
+}
More information about the wine-cvs
mailing list