mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
The main benefits are more convenient code in the component interfaces TU and no limit on the # of arguments that can be passed. Differential Revision: https://code.wildfiregames.com/D3910 This was SVN commit r25350.
14 lines
366 B
C++
14 lines
366 B
C++
/* Copyright (C) 2021 Wildfire Games.
|
|
* ...the usual copyright header...
|
|
*/
|
|
|
|
#include "precompiled.h"
|
|
|
|
#include "ICmpExample.h"
|
|
|
|
#include "simulation2/system/InterfaceScripted.h"
|
|
|
|
BEGIN_INTERFACE_WRAPPER(Example)
|
|
DEFINE_INTERFACE_METHOD("DoWhatever", ICmpExample, DoWhatever)
|
|
// DEFINE_INTERFACE_METHOD for all the other methods too
|
|
END_INTERFACE_WRAPPER(Example)
|