From 036f7078a0250bc1bfb7f4c7fae5414b8e364c77 Mon Sep 17 00:00:00 2001 From: mjjo Date: Sat, 20 Jul 2013 23:20:33 +0000 Subject: [PATCH] --- StockServer/StockServer.h | 58 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 StockServer/StockServer.h diff --git a/StockServer/StockServer.h b/StockServer/StockServer.h new file mode 100644 index 0000000..1256170 --- /dev/null +++ b/StockServer/StockServer.h @@ -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_)