Logo Search packages:      
Sourcecode: yepp version File versions  Download package

yepp.c

#include <sys/io.h>
#include <gtk/gtk.h>
#include "project.h"
#include "yepplib.h"

float cur_block, blocks;
GtkWidget* create_main_window(void);

int main(int argc, char *argv[])
{
   GtkWidget *main_window;
   
   if(iopl(3))
   {
      printf("Get IO permition. Maybe, you are not superuser(root).");
      return EXIT_FAILURE;
   }

   gtk_set_locale();
   gtk_init(&argc, &argv);

   main_window = create_main_window();
   gtk_widget_show(main_window);

   gtk_main();

   return EXIT_SUCCESS;
}

Generated by  Doxygen 1.6.0   Back to index