Module: wine Branch: master Commit: 81031c532eac726e95e6cf506c8d7de9f0bf3c4b URL: http://source.winehq.org/git/wine.git/?a=commit;h=81031c532eac726e95e6cf506c...
Author: Jacek Caban jacek@codeweavers.com Date: Wed Aug 31 16:15:12 2011 +0200
msi: Use struct instead of interface in object declarations.
---
dlls/msi/automation.c | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/dlls/msi/automation.c b/dlls/msi/automation.c index d6ef5c9..1be56b1 100644 --- a/dlls/msi/automation.c +++ b/dlls/msi/automation.c @@ -47,9 +47,9 @@ WINE_DEFAULT_DEBUG_CHANNEL(msi); * called from AutomationObject::Invoke, and pass this function to create_automation_object. */
-typedef interface AutomationObject AutomationObject; +typedef struct AutomationObject AutomationObject;
-interface AutomationObject { +struct AutomationObject { /* * VTables - We provide IDispatch, IProvideClassInfo, IProvideClassInfo2, IProvideMultipleClassInfo */ @@ -87,9 +87,7 @@ interface AutomationObject { * ListEnumerator - IEnumVARIANT implementation for MSI automation lists. */
-typedef interface ListEnumerator ListEnumerator; - -interface ListEnumerator { +typedef struct { /* VTables */ const IEnumVARIANTVtbl *lpVtbl;
@@ -99,7 +97,7 @@ interface ListEnumerator { /* Current position and pointer to AutomationObject that stores actual data */ ULONG ulPos; AutomationObject *pObj; -}; +} ListEnumerator;
/* * Structures for additional data required by specific automation objects