forked from 0ad/0ad
15 lines
383 B
C++
15 lines
383 B
C++
|
/* Copyright (C) 2010 Wildfire Games.
|
||
|
* ...the usual copyright header...
|
||
|
*/
|
||
|
|
||
|
#include "precompiled.h"
|
||
|
|
||
|
#include "ICmpExample.h"
|
||
|
|
||
|
#include "simulation2/system/InterfaceScripted.h"
|
||
|
|
||
|
BEGIN_INTERFACE_WRAPPER(Example)
|
||
|
DEFINE_INTERFACE_METHOD_2("DoWhatever", int, ICmpExample, DoWhatever, int, int)
|
||
|
// DEFINE_INTERFACE_METHOD for all the other methods too
|
||
|
END_INTERFACE_WRAPPER(Example)
|