cmake build system: visiblity support for clang
[supercollider.git] / SCClassLibrary / Platform / osx / extMain.sc
blob64b7d82b5995160b1b4bf4ae59562571198c0deb
1 + Main
3         platformClass { ^OSXPlatform }
5         applicationStart {
6                 ApplicationStart.run;
7         }
9         preferences {
10                 this.platform.preferencesAction.value(this)
11         }
12         preferencesAction_ { arg f;
13                 this.platform.preferencesAction_(f)
14         }
15         preferencesAction {
16                 ^this.platform.preferencesAction
17         }
18         sleep {
19                 this.platform.isSleeping = true;
20                 ^this.platform.sleepAction.value(this);
21         }
22         wake {
23                 this.platform.isSleeping = false;
24                 ^this.platform.wakeAction.value(this);
25         }
26         isSleeping { ^this.platform.isSleeping }