Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsXlibMain.cpp File Reference
#include "nsBrowserWindow.h"
#include "nsViewerApp.h"

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 The Xalan testcases app.

Function Documentation

int main ( int  argc,
char **  argv 
)

The Xalan testcases app.

Definition at line 93 of file nsXlibMain.cpp.

{
  nsViewerApp *app = new nsNativeViewerApp();
  NS_ADDREF(app);

  putenv("MOZ_TOOLKIT=xlib");

  app->Initialize(argc, argv);
  app->Run();
  NS_RELEASE(app);

  return 0;
}

Here is the call graph for this function: