2010-11-12 16:16:22 +01:00
|
|
|
#include <glibmm.h>
|
|
|
|
#include <vector>
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
#include <time.h>
|
|
|
|
#include <stdlib.h>
|
2013-09-22 00:23:13 +02:00
|
|
|
|
2010-11-12 16:16:22 +01:00
|
|
|
#include "defines.h"
|
|
|
|
|
|
|
|
#include "Server.h"
|
|
|
|
|
|
|
|
#include "Buffer.h"
|
|
|
|
#include "Buffers.h"
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
|
|
|
srand( time(NULL) );
|
|
|
|
Glib::thread_init();
|
|
|
|
|
|
|
|
// our main loop with support for signals and all that jazz
|
|
|
|
Glib::RefPtr<Glib::MainLoop> Main = Glib::MainLoop::create();
|
|
|
|
|
2011-05-12 12:39:13 +02:00
|
|
|
Server server(4321);
|
2010-11-12 16:16:22 +01:00
|
|
|
Main->run();
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|