Here's the diagram showing what I alter to allow my plugin to do things that the default Provider won't allow it to do:
Something like that...
#!/bin/bash
make source1.rmlib
make source2.rmlib
#and so on..
SRC.cc := source1.cc source2.cc
PLUGIN := yes
PLUGINDEP := MySourcePlugin
OWNC++FLAGS := -DYOURFLAG1 -DYOURFLAG2
MODDEP := uiODMain
include make.od.Defaults
include make.Targets
#include "plugins.h"
extern "C" int GetXXXPluginType()
{
return PI_AUTO_INIT_EARLY;
}
extern "C" int GetXXXPluginInfo()
{
static PluginInfo retpi ={
"Plugin Name",
"Author",
"Version Number",
"Description" };
return &retpi;
}
Annotations
Madagascar
uiMadagascar
CmdDriver
GMT
uiGMT