Deprecated Cocoa (?) API on Mac OS X 10.5.6

Hi,

I get the following messages on Mac OS X 10.5.6 using SDL 1.2:

CPSGetCurrentProcess():
This call is deprecated and should not be called anymore.
CPSSetForegroundOperationState():
This call is deprecated and should not be called anymore.

There’s not much info like (an API reference) out there as these methods
seem to be part of the private Apple stuff:
http://lists.libsdl.org/htdig.cgi/sdl-libsdl.org/2006-August/057724.html

However, others pointed out that these messages might be accidental:
http://discussions.apple.com/thread.jspa?threadID=1638296&tstart=45

Do you guys know whether these methods really have been deprecated? If
so, shouldn’t they be removed/substituted in SDL in order ensure proper
functioning with upcoming OS X releases due this year…?

Thanks,
Oliver

Le 7 janv. 09 ? 16:14, Oliver Bock a ?crit :

Do you guys know whether these methods really have been deprecated?

They cannot be deprecated as they have never been documented.

It is possible to do what these functions achieve by using a
documented api, see this message [1].

Best,

Daniel

[1] http://lists.libsdl.org/pipermail/sdl-libsdl.org/2006-April/055453.html

Thanks Daniel,

What’s planned for SDL? Shouldn’t the current implementation
(src/main/macosx/SDLMain.m) be changed accordingly?

Oliver

Daniel B?nzli wrote:>

Le 7 janv. 09 ? 16:14, Oliver Bock a ?crit :

Do you guys know whether these methods really have been deprecated?

They cannot be deprecated as they have never been documented.

It is possible to do what these functions achieve by using a documented
api, see this message [1].

Best,

Daniel

[1] http://lists.libsdl.org/pipermail/sdl-libsdl.org/2006-April/055453.html


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

What’s planned for SDL? Shouldn’t the current implementation
(src/main/macosx/SDLMain.m) be changed accordingly?

Yes, it probably should. I’m a bit busy with SDL 1.3 at the moment,
but I’ll happily accept a patch…

Oliver

Daniel B?nzli wrote:

Le 7 janv. 09 ? 16:14, Oliver Bock a ?crit :

Do you guys know whether these methods really have been deprecated?

They cannot be deprecated as they have never been documented.

It is possible to do what these functions achieve by using a documented
api, see this message [1].

Best,

Daniel

[1] http://lists.libsdl.org/pipermail/sdl-libsdl.org/2006-April/055453.html


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

-Sam Lantinga, Founder and President, Galaxy Gameworks LLC