Hi, everyone. I've got a problem on forward declaration. In my drawinghelper.h, i wrote my code like this but compilation fails. g++ complains "Cairo not declared".<br><br>//////////////////////////// DrawingHelp.h ///////////////////////////////////<br>
class Context;<br><br>template <typename T><br>class RefPtr;<br><br>class DrawingHelper<br>{<br>public:<br> void Draw(Cairo::RefPtr<Cairo::Context>& context); // g++ complains "Cairo not declared".<br>
<br>// bla bla bla<br>};<br><br>//////////////////////////////////////////////////////////////////////////////////////<br><br>Is there anything wrong with that? Please help me to correct my error, thanks :)<br><br>Best regards<br>
<br>