00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00023 #if !defined(AFX_STATUS_H__28A3DF38_A042_4F48_8966_9973B6803166__INCLUDED_)
00024 #define AFX_STATUS_H__28A3DF38_A042_4F48_8966_9973B6803166__INCLUDED_
00025
00026 #if _MSC_VER > 1000
00027 #pragma once
00028 #endif // _MSC_VER > 1000
00029 #include "uas.h"
00030
00031 class CStatus
00032 {
00033 public:
00034 bool fPrivate;
00035 static void SendHTTP(char* strOutput);
00036 static void ServerOffline( );
00037 static void ServerShutdown( );
00038 static void ServerStart( );
00039 static void ServerLoad( );
00040 static void UpDate( );
00041 static void Clear( );
00042 static DWORD m_dwMax;
00043 CStatus();
00044 virtual ~CStatus();
00045
00046 static char m_strHost[16];
00047 static char m_strHTTP[500];
00048 static char m_strOutput[500];
00049 static char m_strSend[1024];
00050 static int m_fPrivate;
00051 static char m_mText[51];
00052 static DWORD m_sTTE;
00053 static DWORD m_cAvg;
00054 static char m_cVersion[10];
00055 static char m_cVer[31];
00056 static int m_sPort;
00057 static char m_sKey[7];
00058 static char m_sSer[31];
00059 static DWORD m_sID;
00060 static byte m_nStat;
00061 static SOCKET m_Socket;
00062 static WSADATA m_wsaData;
00063 static SOCKET m_SendSocket;
00064
00065 static byte m_bServer[4];
00066 static int m_ServerPort;
00067 static unsigned long m_ulLastUpdate;
00068 };
00069
00070 #endif // !defined(AFX_STATUS_H__28A3DF38_A042_4F48_8966_9973B6803166__INCLUDED_)