bryner%netscape.com 0edc4cf988 Merge changes from CHIMERA_M1_0_1_BRANCH.
git-svn-id: svn://10.0.0.236/trunk@135924 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 02:59:17 +00:00

23 lines
602 B
Plaintext

#import <Cocoa/Cocoa.h>
#include "nsEmbedAPI.h"
#include "nsCOMPtr.h"
#include "nsILocalFile.h"
#include "nsString.h"
int main(int argc, const char *argv[])
{
#if 0
NSString *path = [[[NSBundle mainBundle] executablePath] stringByDeletingLastPathComponent];
const char *binDirPath = [path fileSystemRepresentation];
nsCOMPtr<nsILocalFile> binDir;
nsresult rv = NS_NewNativeLocalFile(nsDependentCString(binDirPath), PR_TRUE, getter_AddRefs(binDir));
if (NS_FAILED(rv))
return NO;
#endif
NS_InitEmbedding(nsnull, nsnull);
return NSApplicationMain(argc, argv);
}