I'm a total newbie on plugins.

     Just to give you where I'm starting from, I've had lots of C and C++
experience, plus assembly, on 5 or 6 different processors and written Linux
driver code from scratch and modified other Linux code. Plus Macintosh and
Windows C/C++ and assembly.

     Having said all of that, there are a lot of holes in my knowledge.

     I want to create a class in a Linux plugin, and then use that class in
RB.

    The only plugin I could get to compile all the way through for Linux
(png utilities found on the net) is my starting example, but it doesn't do
classes, just functions:
/*
---------------------------------------------------------------------------
    PluginEntry
----------------------------------------------------------------------------
*/
void PluginEntry(void)
{
    UInt32        n;

    if (REALGetRBVersion() >= 5.5)
        REALRegisterModule(&MyModule);

    // Register the global methods
    for (n = 0; n < ( SizeOfMethods(MyModuleMethods) ); n++)
        REALRegisterMethod(&MyModuleMethods[n]);
}


   How would I register a class?  IE: which "example" or where is working
code for a Linux class registration?

thanks,
Wade
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to