X-Base Bugtracking

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
000738xShunterPlug-in systempublic2011-09-16 07:292011-09-16 07:37
Assigned ToxOR 
PlatformOSOS Version
Product Versionv0.2 
Target Versionv0.1Fixed in Versionv0.2 
Summary000738: Optional plug-in cross-references
DescriptionA plug-in should be able to add an optional reference to another plug-in, so it can utilize features of another plug-in if it is loaded but will still work without these features if the other plug-in is not loaded.
The reference //ifpluginreference would additionally add a define for the plug-in only if the referenced plug-in exists - the define has the format PluginName_Loaded.
Additional InformationExample:
A plug-in with the name "ExamplePlugin" has an optional reference to "AnotherPlugin". It would add this line:

Now if ExamplePlugin wants to call a static function of AnotherPlugin it must make sure that this is only done if the reference could be fulfilled, so it would include it between #if directives:

#if AnotherPlugin_Loaded
TagsNo tags attached.
SVN revision
Attached Files

- Relationships
related to 000739resolvedxOR Report reached goals to community plug-in to include it into highscores 
child of 000723resolvedxOR Support for references between plug-ins 

-  Notes
User avatar (0000347)
xOR (administrator)
2011-09-16 07:36


- Issue History
Date Modified Username Field Change
2011-09-16 07:29 xOR New Issue
2011-09-16 07:29 xOR Status new => assigned
2011-09-16 07:29 xOR Assigned To => xOR
2011-09-16 07:29 xOR Relationship added child of 000723
2011-09-16 07:35 xOR Summary Suppor for weak plug-in references => Optional plug-in cross-references
2011-09-16 07:35 xOR Description Updated View Revisions
2011-09-16 07:35 xOR Additional Information Updated View Revisions
2011-09-16 07:36 xOR Note Added: 0000347
2011-09-16 07:36 xOR Status assigned => resolved
2011-09-16 07:36 xOR Resolution open => fixed
2011-09-16 07:37 xOR Fixed in Version => v0.2
2011-09-16 07:51 xOR Relationship added parent of 000739
2011-09-16 07:51 xOR Relationship deleted parent of 000739
2011-09-16 07:51 xOR Relationship added related to 000739

Copyright © 2000 - 2011 MantisBT Group
Time: 0.0875 seconds.
memory usage: 7,502 KB
Powered by Mantis Bugtracker