Fixed the state for the playlists menu item to show the currently playing playlist.
[MenuTunes.git] / main.m
1 //
2 //  main.m
3 //  MenuTunes
4 //
5 //  Created by Kent Sutherland on Sun Nov 17 2002.
6 //  Copyright (c) 2002 Kent Sutherland. All rights reserved.
7 //
8 // Poink.
9 #import <Cocoa/Cocoa.h>
10 #import <sys/ptrace.h>
11
12 static const int (*ptp)(int,int,caddr_t,int) = ptrace;
13
14 int main(int argc, const char *argv[])
15 {
16 #ifdef MT_RELEASE
17     ptp(PT_DENY_ATTACH,getpid(),NULL,0);
18 #endif
19     return NSApplicationMain(argc, argv);
20 }