hello,
i'm trying to make a chatserver that receives multiple sorts of packets
and for determinating what sort of package it receives i'm using an enum class
now i'm trying to add icons to some status labels on the overview window, but when the server receives 'FILE' packages, it means someone is transferring a file to someone else
in order to get a better overview of the received 'FILE' packages i would like to use this as my file class, but it doesn't let it compile
can anyone help me how to get this piece of code to work?
public enum NFile{
public enum MS{ WORD, EXCEL, POWERPOINT, OUTLOOK; },
public enum Web{ HTML, PHP, XML, ASP, CHM, JS; },
public enum Image{ BMP, JPG, GIF, PNG, TIFF; };
}
thanks in advance