FROM : Torsten Curdt
DATE : Wed Apr 06 22:50:09 2005
I am using a shared library that calls
back into my code via a static function
static void THE_API anApiFunction() {
// do some stuff
}
...that I register in main.m before I
pass control to the NSApplicationMain.
...
api_register(anApiFunction);
return NSApplicationMain(argc, (const char **) argv);
}
Now this function is supposed to change
the content of a NSBrowser inside the
application window.
I am now wondering what would be the
best way to get hold of the NSBrowser
instance so the function can actually
change the content.
Any thoughts? ...or better ways?
I am also a bit concerned about
threading issues...
cheers
--
Torsten
DATE : Wed Apr 06 22:50:09 2005
I am using a shared library that calls
back into my code via a static function
static void THE_API anApiFunction() {
// do some stuff
}
...that I register in main.m before I
pass control to the NSApplicationMain.
...
api_register(anApiFunction);
return NSApplicationMain(argc, (const char **) argv);
}
Now this function is supposed to change
the content of a NSBrowser inside the
application window.
I am now wondering what would be the
best way to get hold of the NSBrowser
instance so the function can actually
change the content.
Any thoughts? ...or better ways?
I am also a bit concerned about
threading issues...
cheers
--
Torsten
| Related mails | Author | Date |
|---|---|---|
| No related mails found. | ||






Cocoa mail archive

