Copy link to clipboard
Copied
Are there any plug-in samples in CS5 SDK with GUI really working on 32/64 bit Windows/MAC?
I'm also looking for plugin sample with QT GUI.
Cheers
Ah sorry, forgot to answer that. No, it's not a POSIX file pointer. It's a Macintosh file handle, so you need to use the Macintosh routines.
I think Adobe provides some abstractions over that to help x-platform file i/o. I wrote my own x-platform libraries years ago so I just use these.
Copy link to clipboard
Copied
Source code for plugins with working UI on Win32/64, Carbon 32 bit, and Cocoa 64 bit is on my site, http://telegraphics.com.au/sw/ ; Subversion links are on the page. e.g.: icoformat, webpformat
Copy link to clipboard
Copied
Thank you.
Do you have any minimalistic plugins with About dialog and that's it? Any xcode based projects?
Cheers
Copy link to clipboard
Copied
Just delete everything but the About box, and bingo!
No Xcode. The Makefile is just so much more convenient and powerful.
Copy link to clipboard
Copied
how do you debug it on mac?
Copy link to clipboard
Copied
Never needed a symbolic debugger.
...but an Xcode project wouldn't be too hard to derive. Just follow what the Makefile does, or copy Adobe's project.
Copy link to clipboard
Copied
Hi,
So Mac minimum without even About in case of webpformat are:
Makefele
main.c
entry.h
PiPL.r
PiPL*.r
info.plist.tmpl
exports.exp
Am I correct?
One more question, what pb-dataFork supposed to be on Mac? Pointer to FILE object?
BTW do we really need exports.def for windows?
Cheers
Copy link to clipboard
Copied
Looks like you also need world.h, but dbg.h and str.h can be commented out in that.
You're right, exports.def isn't used by a native NMAKE build. It is referenced in the Makefile used by other environments, like MinGW Win32 cross-build from Linux or OS X. I think CodeWarrior may have used it too.
Copy link to clipboard
Copied
One more question, what pb->dataFork on Mac? Pointer to FILE object which i can simple use in fwrite?
Copy link to clipboard
Copied
Ah sorry, forgot to answer that. No, it's not a POSIX file pointer. It's a Macintosh file handle, so you need to use the Macintosh routines.
I think Adobe provides some abstractions over that to help x-platform file i/o. I wrote my own x-platform libraries years ago so I just use these.
Copy link to clipboard
Copied
Thank you, I really appreciate your help.
Copy link to clipboard
Copied
Hi,
One moe... How do you create ui_mac.r file? Do you convert it somehow from WebPEncodeQuality.nib? How?
Cheers
Copy link to clipboard
Copied
The Rez sources are written by hand, but you can use ResEdit (on Classic/10.4 only!) to lay them out visually and decompile with DeRez (comes with OS X Developer tools).
Or, you can also use Interface Builder to create Carbon nib files (I haven't done this yet, but plan to try, as it promises to make Carbon support easier and more consistent with Cocoa).
Message was edited by: qu1j0t3