home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / TeamSpeak / TeamSpeak3-Client-win32-3.0.0.exe / pluginsdk / include / clientlib_publicdefinitions.h next >
Encoding:
C/C++ Source or Header  |  2011-08-08  |  814 b   |  19 lines

  1. #ifndef CLIENTLIB_PUBLICDEFINITIONS_H
  2. #define CLIENTLIB_PUBLICDEFINITIONS_H
  3.  
  4. enum Visibility {
  5.     ENTER_VISIBILITY = 0,
  6.     RETAIN_VISIBILITY,
  7.     LEAVE_VISIBILITY
  8. };
  9.  
  10. enum ConnectStatus {
  11.     STATUS_DISCONNECTED = 0,       //There is no activity to the server, this is the default value
  12.     STATUS_CONNECTING,             //We are trying to connect, we haven't got a clientID yet, we haven't been accepted by the server
  13.     STATUS_CONNECTED,              //The server has accepted us, we can talk and hear and we got a clientID, but we don't have the channels and clients yet, we can get server infos (welcome msg etc.)
  14.     STATUS_CONNECTION_ESTABLISHING,//we are CONNECTED and we are visible
  15.     STATUS_CONNECTION_ESTABLISHED, //we are CONNECTED and we have the client and channels available
  16. };
  17.  
  18. #endif //CLIENTLIB_PUBLICDEFINITIONS_H
  19.