The macro gets replaced by a function that is called like the argument given to the macro and which returns an HMIClass instance per reference

Qt Code:
  1. HMIClass_DECLARE(foo)
To copy to clipboard, switch view to plain text mode 
gets replaced with
Qt Code:
  1. HMIClass &foo();
To copy to clipboard, switch view to plain text mode 

Cheers,
_