GWSOFT.co.uk  

Site by Graham Wharton 
November 21st 2008 06:43:55 PM 



NOTE : This project is not currently in development and is totally unsupported. These pages are here for information only.

configurePlugin

Declaration

extern "C" BWindow * configurePlugin(BPoint middle);

Description

This function is entirely optional. This purpose of this function is to allow the plugin to display a configuration screen where a user may set the communication methods for the plugin. It is passed a BPoint which describes the centre position of the calling window. This can be used to position the dialog box in an Application friendly position. The function returns a pointer to a BWindow (or BWindow derived) object.

Example Implementation

BWindow* configurePlugin(BPoint m) { //configplugin is a Window class derived from BWindow
return(new configplugin(BRect(m.x - 74,m.y - 122,m.x + 74,m.y + 122 ))); }
BDCP Developers Home Page