Logo Search packages:      
Sourcecode: agenda.app version File versions  Download package

testapp.m

#include <AppKit/AppKit.h>

int main(int argc, char **argv)
{
      CREATE_AUTORELEASE_POOL(pool);
      /* this is a nasty hack */

      /*
      BOOL regis;
      id procInfo = [NSProcessInfo processInfo];
      id procName = [procInfo processName];
      [procInfo setProcessName:[procInfo globallyUniqueString]];
      NSLog([procInfo processName]);
      */

      [NSApplication sharedApplication];
      [NSApp run];
      DESTROY(pool);
      return 0;
}

Generated by  Doxygen 1.6.0   Back to index