gtk2/linux blmc config tool
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.6KB

  1. /***************************************************************************
  2. * Copyright (C) 06/2008 by Olaf Rempel *
  3. * razzor@kopf-tisch.de *
  4. * *
  5. * This program is free software; you can redistribute it and/or modify *
  6. * it under the terms of the GNU General Public License as published by *
  7. * the Free Software Foundation; version 2 of the License *
  8. * *
  9. * This program is distributed in the hope that it will be useful, *
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of *
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
  12. * GNU General Public License for more details. *
  13. * *
  14. * You should have received a copy of the GNU General Public License *
  15. * along with this program; if not, write to the *
  16. * Free Software Foundation, Inc., *
  17. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
  18. ***************************************************************************/
  19. #include <stdio.h>
  20. #include <gtk/gtk.h>
  21. #include "gtk2-gui.h"
  22. #include "i2c.h"
  23. int main(int argc, char *argv[])
  24. {
  25. gtk_init (&argc, &argv);
  26. GtkWidget *window = gui_create_window();
  27. i2c_enumerate_interfaces();
  28. gtk_widget_show_all(window);
  29. gtk_main();
  30. return 0;
  31. }