File: main.m

package info (click to toggle)
camera.app 0.8.0-10
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 212 kB
  • sloc: objc: 952; makefile: 19
file content (27 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

// created 11.2003 by Stefan Kleine Stegemann
// 
// licensed under GPL

#include "AppDelegate.h"

#include <AppKit/NSApplication.h>

/*
 * Initialize and go!
 */
int main(int argc, const char *argv[]) 
{
   int          apprc;
   AppDelegate* delegate;

   [NSApplication sharedApplication];

   delegate = [[AppDelegate alloc] init];
   [[NSApplication sharedApplication] setDelegate: delegate];

   apprc = NSApplicationMain (argc, argv);

   [delegate release];
   return apprc;
}