This commit is contained in:
58
StockServer/StockServer.h
Normal file
58
StockServer/StockServer.h
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
// StockServer.h : main header file for the STOCKSERVER application
|
||||||
|
//
|
||||||
|
|
||||||
|
#if !defined(AFX_STOCKSERVER_H__B4F04BB0_695D_467B_9D70_818928D1302B__INCLUDED_)
|
||||||
|
#define AFX_STOCKSERVER_H__B4F04BB0_695D_467B_9D70_818928D1302B__INCLUDED_
|
||||||
|
|
||||||
|
#if _MSC_VER > 1000
|
||||||
|
#pragma once
|
||||||
|
#endif // _MSC_VER > 1000
|
||||||
|
|
||||||
|
#ifndef __AFXWIN_H__
|
||||||
|
#error include 'stdafx.h' before including this file for PCH
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "resource.h" // main symbols
|
||||||
|
|
||||||
|
#include "GlobalHelper.h"
|
||||||
|
|
||||||
|
#define MIN_FRAME_WITH 300
|
||||||
|
#define MIN_FRAME_HEIGTH 200
|
||||||
|
#define TIMER_TIME_VALUE 1000
|
||||||
|
|
||||||
|
#define DEFAULT_MIN_PORT_NUMBER 1500
|
||||||
|
#define DEFAULT_MAX_PORT_NUMBER 65000
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
// CStockServerApp:
|
||||||
|
// See StockServer.cpp for the implementation of this class
|
||||||
|
//
|
||||||
|
|
||||||
|
class CStockServerApp : public CWinApp
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
CStockServerApp();
|
||||||
|
|
||||||
|
// Overrides
|
||||||
|
// ClassWizard generated virtual function overrides
|
||||||
|
//{{AFX_VIRTUAL(CStockServerApp)
|
||||||
|
public:
|
||||||
|
virtual BOOL InitInstance();
|
||||||
|
//}}AFX_VIRTUAL
|
||||||
|
|
||||||
|
// Implementation
|
||||||
|
//{{AFX_MSG(CStockServerApp)
|
||||||
|
afx_msg void OnAppAbout();
|
||||||
|
// NOTE - the ClassWizard will add and remove member functions here.
|
||||||
|
// DO NOT EDIT what you see in these blocks of generated code !
|
||||||
|
//}}AFX_MSG
|
||||||
|
DECLARE_MESSAGE_MAP()
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
//{{AFX_INSERT_LOCATION}}
|
||||||
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
||||||
|
|
||||||
|
#endif // !defined(AFX_STOCKSERVER_H__B4F04BB0_695D_467B_9D70_818928D1302B__INCLUDED_)
|
||||||
Reference in New Issue
Block a user