Your frontend class, adaptor class, and backend class should be derived classes of the same base class. Then they can inherit the same get_report() member function. That way get_report() is only declared once.
In reply to Re: MVC question: way to expose API
by starbolin
in thread MVC question: way to expose API
by Qiang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |