View Full Version : API
January 17th, 2005, 09:49 AM
is the API likely to change (ie is it worth updating plugins) or should we wait until the final release
January 17th, 2005, 10:32 AM
The API is pretty much set, unless one of the developers has a suggestion on how to do something better. I am happy with most of it. One area that will see some more development is the GUI. Right now plugins can display their gui through the DUI, however this has limited functionality so we are developing a ActiveX/Com based gui for the more advanced plugins. This however should not break existing plugins.
Let me know if you have any troubles with the porting effort.
January 17th, 2005, 02:32 PM
im not sure how command selection is supposed to be implemented in G4 (is it still using gir_command_gui ?)
January 17th, 2005, 02:35 PM
I am really sorry for the documentation not being in place yet. G4 is a big project. We are no longer using gir_command_ui.
If your plugin only has some simple input that it needs to handle you can use the DUI. I will be releasing a plugin demonstrating this. What plugin are you working on?
The DUI (Dynamic User Interface) is an XML file that describes what widget to use, where to display them and in what field (sValue1, iValue1 etc) to store the info. Your plugin doesn't have to do any UI stuff.
January 17th, 2005, 02:47 PM
Here is the source code to the sendmessage plugin. It demonstrates the DUI stuff. I forgot to include the sendmessage.xml file, but you have that yourself in the Girder directory.
January 17th, 2005, 05:41 PM
the plugin im working on is my media player plugin
is there an easy way to compare two TGUID values in delphi?
January 17th, 2005, 07:01 PM
function IsEqualGUID(const guid1, guid2: TGUID): Boolean;
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.