Greetings.
I have now completed my quest for the Machine model, :) YĆ©!
i'm faced yet with another problem, retriving the icon from a bundle.
/System/Library/CoreServices/CoreTypes.bundle
I've tried.
NSImage *icon = [[NSWorkspace sharedWorkspace]
iconForFileType:modelName];
But that just gives me a nice default icon witch is not what i was
aiming for.
i've also tried
GetIconRef (kOnSystemDisk, kSystemIconsCreator, modelName, &theIconRef);
But that just also gibes me the default unknown document icon.
or am i going about this the wrong way ?
is there another way to get machine icons with the machine model code?
for example. iMac6,1
Thank you !
Sandro Noel._______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com