Rob Shearman : include: Add DShellFolderViewEvents to shldisp.idl.

Alexandre Julliard julliard at winehq.org
Tue Sep 23 09:28:58 CDT 2008


Module: wine
Branch: master
Commit: 2f10cc5c2823bd9166ac83acb63a01c4b446de02
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2f10cc5c2823bd9166ac83acb63a01c4b446de02

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Tue Sep 23 13:31:23 2008 +0100

include: Add DShellFolderViewEvents to shldisp.idl.

---

 include/Makefile.in |    1 +
 include/shdispid.h  |   30 ++++++++++++++++++++++++++++++
 include/shldisp.idl |   25 +++++++++++++++++++++++++
 3 files changed, 56 insertions(+), 0 deletions(-)

diff --git a/include/Makefile.in b/include/Makefile.in
index 415ac1b..f28cfab 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -373,6 +373,7 @@ SRCDIR_INCLUDES = \
 	sensapi.h \
 	setupapi.h \
 	sfc.h \
+	shdispid.h \
 	shellapi.h \
 	shlguid.h \
 	shlobj.h \
diff --git a/include/shdispid.h b/include/shdispid.h
new file mode 100644
index 0000000..5b3fc40
--- /dev/null
+++ b/include/shdispid.h
@@ -0,0 +1,30 @@
+/*
+ * DispIds for Shell Interfaces
+ *
+ * Copyright (C) 2008 Robert Shearman
+ *
+ * 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
+ */
+
+#ifndef _SHDISPID_H_
+#define _SHDISPID_H_
+
+#define DISPID_SELECTIONCHANGED     200
+#define DISPID_FILELISTENUMDONE     201
+#define DISPID_VERBINVOKED          202
+#define DISPID_DEFAULTVERBINVOKED   203
+#define DISPID_BEGINDRAG            204
+
+#endif /* defined _SHDISPID_H_ */
diff --git a/include/shldisp.idl b/include/shldisp.idl
index ee72261..28c2357 100644
--- a/include/shldisp.idl
+++ b/include/shldisp.idl
@@ -25,6 +25,8 @@ import "shtypes.idl";
 import "servprov.idl";
 import "comcat.idl";
 
+#include <shdispid.h>
+
 /*****************************************************************************
  * IAutoComplete interface
  */
@@ -85,6 +87,29 @@ interface IFolderViewOC : IDispatch
 }
 
 [
+    uuid(62112aa2-ebe4-11cf-a5fb-0020afe7292d)
+]
+dispinterface DShellFolderViewEvents
+{
+    properties:
+    methods:
+    [id(DISPID_SELECTIONCHANGED)]
+    void SelectionChanged();
+
+    [id(DISPID_FILELISTENUMDONE)]
+    void EnumDone();
+
+    [id(DISPID_VERBINVOKED)]
+    VARIANT_BOOL VerbInvoked();
+
+    [id(DISPID_DEFAULTVERBINVOKED)]
+    VARIANT_BOOL DefaultVerbInvoked();
+
+    [id(DISPID_BEGINDRAG)]
+    VARIANT_BOOL BeginDrag();
+}
+
+[
     uuid(9ba05971-f6a8-11cf-a442-00a0c90a8f39),
     hidden
 ]




More information about the wine-cvs mailing list