Main Page | Alphabetical List | Class List | File List | Class Members | File Members

drv.cpp

Go to the documentation of this file.
00001 /*
00002 ** ---------------------------------------------------------------
00003 ** drv.cpp - Driver of eigth assignment of course CIV 2802 - 2011.1
00004 **
00005 ** ---------------------------------------------------------------
00006 **
00007 ** Project:
00008 **    CIV 2802 - Sistemas Graficos para Engenharia - 2011.1
00009 **    Semester Projects.
00010 **    See documentation on class notes.
00011 **
00012 ** ---------------------------------------------------------------
00013 */
00014 
00015 /*
00016 ** ---------------------------------------------------------------
00017 ** Global variables and definitions:
00018 */
00019 #include "iup.h"
00020 #include "prj.h"
00021 
00022 /*
00023 ** ---------------------------------------------------------------
00024 ** Main driver:
00025 */
00026 
00027 int main( int argc, char* argv[] )
00028 {
00029 /* Open IUP.
00030  */
00031  IupOpen( &argc, &argv );
00032 
00033 /* Create dialog with a canvas and display model.
00034  */
00035  Prj::Init( );
00036 
00037 /* Wait for an action (the only possible is close dialog).
00038  */
00039  IupMainLoop( );
00040 
00041 /* Close project.
00042  */
00043  Prj::Quit( );
00044 
00045 /* Close IUP.
00046  */
00047  IupClose( );
00048 
00049  return( 0 );
00050 }
00051 

Generated on Mon Jun 20 18:09:52 2011 for Trab8 by  doxygen 1.4.2-20050421