Code/HelloFuseCarbon

From kJams Wiki
Jump to navigation Jump to search

Download

This contains a carbon XCode project for the MacFUSE project.

at this point it's several revisions out of date, but it'll get you started.

Goodness included:

  • A complete "hello world" Fuse project using Carbon
  • a CFileRef object: powerful abstraction on FSRef / full path / Alias records / Directories, extremely useful, you have to see it
  • A SuperString object: a very *very* powerful abstraction on strings. Compatible with CFStrings, HFSUniStr255, pure unicode buffer, c-strings, p-strings, std::strings, OSType, float / integer, any kind of encoding, any kind of converting, eg: to utf8, 16, 32, truncating, searching, subsituting, comparing, splitting, etc etc, it's huge but still light weight (20 bytes overhead per). To use this cross platform(!) and for the very latest version, see the CFTest project under CFLite.
  • A set of low level File System Utilities for doing just about anything
  • A simplified and easy to use Thread object for creating preemptive threads, with a completion call back.