pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pdf-devel] Old Mac OS paths in the Filesystem implementation


From: Aleksander Morgado
Subject: [pdf-devel] Old Mac OS paths in the Filesystem implementation
Date: Sun, 14 Sep 2008 17:07:20 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b1pre) Gecko/20080910025452 Shredder/3.0b1pre

Hi Jose,

An effective way to convert from old Mac OS paths to standard unix paths is included in the Core Foundation library, which provides the CFURL methods:


http://developer.apple.com/documentation/CoreFoundation/Reference/CFURLRef/Reference/reference.html#//apple_ref/c/tdef/CFURLPathStyle

Specifically, it seems able to convert between any of:

enum CFURLPathStyle {
   kCFURLPOSIXPathStyle = 0,
   kCFURLHFSPathStyle = 1,
   kCFURLWindowsPathStyle = 2
};

BTW, we already link with Mac OS X' Core Foundation library in Mac OS X systems.

Cheers,
-Aleksander




reply via email to

[Prev in Thread] Current Thread [Next in Thread]