[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

UrShape coding update



--I sent this earlier but I am not sure if it got through 

Well I've got a skeleton compiling, and installing.  Dia is loading the
library but it doesn't seem to show up on the sheet.  Here is the code I
am using to register it:

DIA_PLUGIN_CHECK_INIT

PluginInitResult
dia_plugin_init(PluginInfo *info)
{
   if(!dia_plugin_info_init(info, "UrShapes", "Test", NULL,NULL))
        return DIA_PLUGIN_INIT_ERROR;
   object_register_type(&urshape_type);
   return DIA_PLUGIN_INIT_OK;
}

Is this right?  Should there be more?

--J5




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK