Commit 9afec542 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

widl: Generate class forward declaration for coclasses.

parent 17eccaff
......@@ -1152,6 +1152,9 @@ static void write_coclass(FILE *header, type_t *cocl)
fprintf(header, " * %s coclass\n", cocl->name);
fprintf(header, " */\n\n");
write_coclass_guid(header, cocl);
fprintf(header, "\n#ifdef __cplusplus\n");
fprintf(header, "class %s;\n", cocl->name);
fprintf(header, "#endif\n");
fprintf(header, "\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment