#ifndef HEADER_WINDOW
#define HEADER_WINDOW
#include "config.h"
#include <string>
#ifdef USING_STD_STRING
using std::string;
#endif
#include "serverdcc.h"
enum {
TYPE_STATUS,
TYPE_QUERY,
TYPE_CHANNEL,
TYPE_MAIN,
TYPE_FILE,
TYPE_CHAT,
TYPE_OTHER
};
class twindow {
private:
int windowtype(char *pathname);
public:
int index;
char name[WINDOWNAMELEN+1];
char pathname[40];
string title;
tserver *server;
tdcc *dcc;
int operator==(twindow &t);
int operator>=(twindow &t);
twindow();
};
#endif