Explicitly include a boost "windows" folder even on linux
[supercollider.git] / HelpSource / Classes / Cocoa.schelp
blob86c730bf246594f3faaec612591574f5c90d61a5
1 class:: Cocoa
2 summary:: file paths that utilize OS X Cocoa services
3 related:: Classes/CocoaDialog
4 categories:: Platform>OSX
6 ClassMethods::
8 private::prGetPathsInDirectory
10 Examples::
12 code::
13 Cocoa.getPathsInDirectory("plugins")
15 // note: it is better to now use pathMatch (unix compatible). Wild cards like * can be used.
17 "plugins/*".pathMatch;
18 "plugins/D*".pathMatch;
19 "plugins/[D,T]*".pathMatch;
22 This is a temporary implementation before I (felix) gets around to doing the proper Directory implementation.
23 It gets all paths in that directory and subdirectories.
24 maxItems is the size of the array to use, and should be larger than the number of items you might return, else a primitive index error.
26 all paths are standardized