Files
Mozilla/mozilla/xulrunner/app/nsXulRunnerApp.cpp
darin%meer.net db45225d77 initial landing
git-svn-id: svn://10.0.0.236/trunk@160419 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 21:38:24 +00:00

28 lines
727 B
C++

#include "nsXULAppAPI.h"
#include "nsBuildID.h"
static const nsXREAppData kAppData =
{
"Mozilla",
"Xulrunner",
APP_VERSION,
BUILD_ID,
"Copyright (c) 2004 mozilla.org",
PR_FALSE
};
int main(int argc, char* argv[])
{
return xre_main(argc, argv, &kAppData);
}
#if defined( XP_WIN ) && defined( WIN32 ) && !defined(__GNUC__)
// We need WinMain in order to not be a console app. This function is
// unused if we are a console application.
int WINAPI WinMain( HINSTANCE, HINSTANCE, LPSTR args, int )
{
// Do the real work.
return main( __argc, __argv );
}
#endif