// $Id: main.m,v 1.4 2008/06/29 17:53:46 royratcliffe Exp $ // // Copyright © 2008, Roy Ratcliffe, Lancaster, United Kingdom // All rights reserved // //------------------------------------------------------------------------------ #import <Cocoa/Cocoa.h> int main(int argc, char *argv[]) { return NSApplicationMain(argc, (const char **)argv); // Cast argv to "const char star-star" because NSApplicationMain requires // const char, meaning it does not modify individual arguments; it may // modify the vector but not its elements. Otherwise, without the cast, the // compiler throws a warning: passing argument 2 from incompatible pointer // type! }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 20722 | jdputsch | initial branch, prep for -Zapp= support | ||
//guest/michael_bishop/MacMenu/src/3rdParty/GlossCausticShader/main.m | |||||
#1 | 8331 | Matt Attaway |
Adding initial version of MacMenu for Perforce MacMenu is a helpful Perforce client that sits in your toolbar. It allows you to run standard Perforce operations on the document that is open the currently active editor/viewer. |