M
Michael Sgier
Hi
#include "demo.h"
in my plugin start function (main.cpp) I've:
// Create a demo instance
Demo* demo = new Demo();
/// Create our window, setup datarefs and register our hotkey.
demo->init();
but now I want to have:
demo->run();
in my main loop function (main.cpp) which gives me a undeclared error.
How/where shall I declare demo?
Many thanks
Michael
#include "demo.h"
in my plugin start function (main.cpp) I've:
// Create a demo instance
Demo* demo = new Demo();
/// Create our window, setup datarefs and register our hotkey.
demo->init();
but now I want to have:
demo->run();
in my main loop function (main.cpp) which gives me a undeclared error.
How/where shall I declare demo?
Many thanks
Michael