File: main.cc

package info (click to toggle)
craftywatcher 1.4-2
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 88 kB
  • ctags: 98
  • sloc: cpp: 660; makefile: 52
file content (15 lines) | stat: -rw-r--r-- 304 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <gtk--/main.h>
#include "CWWindow.h"


int main(int argc, char* argv[])
{
  Gtk_Main* gtkMain = new Gtk_Main(argc, argv);
  CWWindow* gtkWindow = new CWWindow();
  gtkWindow->set_title("Crafty Watcher");
  gtkWindow->show();
  gtkMain->run();
  delete gtkWindow;
  delete gtkMain;
  return 0;
}