Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

test-die.cxx File Reference

#include "TROOT.h"
#include "TApplication.h"
#include <iostream>
#include "test-die.h"

Go to the source code of this file.

Functions

void kill_kill_kill ()
int main (int argc, char *argv[])

Variables

MyFramethe_main_frame = 0


Function Documentation

void kill_kill_kill  ) 
 

Definition at line 10 of file test-die.cxx.

00011 {
00012     cerr << "Kill! Kill! Kill!\n";
00013     delete the_main_frame;
00014 }

int main int  argc,
char *  argv[]
 

Definition at line 16 of file test-die.cxx.

References the_main_frame.

00017 {
00018     TApplication theApp("App", &argc, argv);
00019 
00020     MyFrame* mf = new MyFrame();
00021     the_main_frame = mf;
00022 
00023     theApp.Run();
00024     return 0;
00025 } // end of main()


Variable Documentation

MyFrame* the_main_frame = 0
 

Definition at line 8 of file test-die.cxx.

Referenced by main().


Generated on Mon Feb 15 11:08:13 2010 for loon by  doxygen 1.3.9.1