infantheartlyje 0 Light Poster

Hi all,
I'm doing a software. In this i want to develop my report engine in c++ using linux platform. Now my report engine should connect with my browser (Display engine). How i connect C++ with browser??

Example :
in my report engine there 'll be class like below.
Class Dialog
{
Dialog()
{
//To create a window at browser
}
addbutton()
{
// To create a button at the window which is created in the browser
}
addcombobox()
{
// To create a combo box at the window which is created in the browser
}
...
...
}

Now i'll call the class(report engine) from my reporting coding(for example i need button and text box) . The report engine should send the message to display engine (broswer). and The display engine should create the controls as i called. How can i connect the report engine to display engine.

Note : am doing my report engine in C++ ( linux based);
my display engine is browser