home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / developer_install / ReplicaNetFreewareV5_4.exe / data1.cab / Program_Executable_Files / Example5 / Example5.h < prev    next >
Encoding:
C/C++ Source or Header  |  2005-10-30  |  1.8 KB  |  70 lines

  1. /* START_LICENSE_HEADER
  2.  
  3. Copyright (C) 2000 Martin Piper, original design and program code
  4. Copyright (C) 2001-2005 Replica Software
  5.  
  6. This program file is copyright (C) Replica Software and can only be used under license.
  7. For more information visit: http://www.replicanet.com/
  8. Or email: info@replicanet.com
  9.  
  10. END_LICENSE_HEADER */
  11. // Example5.h : main header file for the EXAMPLE5 application
  12. //
  13.  
  14. #if !defined(AFX_EXAMPLE5_H__24F84513_48FB_447D_85BA_BC5FC204464B__INCLUDED_)
  15. #define AFX_EXAMPLE5_H__24F84513_48FB_447D_85BA_BC5FC204464B__INCLUDED_
  16.  
  17. #if _MSC_VER > 1000
  18. #pragma once
  19. #endif // _MSC_VER > 1000
  20.  
  21. #ifndef __AFXWIN_H__
  22.     #error include 'stdafx.h' before including this file for PCH
  23. #endif
  24.  
  25. #include "resource.h"        // main symbols
  26.  
  27. #include "RNXPSession/Inc/XPSession.h"
  28.  
  29.  
  30. /////////////////////////////////////////////////////////////////////////////
  31. // CExample5App:
  32. // See Example5.cpp for the implementation of this class
  33. //
  34.  
  35. const int kChatCommand_Name = 0;
  36. const int kChatCommand_Chat = 1;
  37. const int kChatCommand_Whisper = 2;
  38.  
  39. class CExample5App : public CWinApp
  40. {
  41. public:
  42.     CExample5App();
  43.  
  44.     RNReplicaNet::XPSession *mXPSession;
  45.  
  46. // Overrides
  47.     // ClassWizard generated virtual function overrides
  48.     //{{AFX_VIRTUAL(CExample5App)
  49.     public:
  50.     virtual BOOL InitInstance();
  51.     //}}AFX_VIRTUAL
  52.  
  53. // Implementation
  54.  
  55.     //{{AFX_MSG(CExample5App)
  56.         // NOTE - the ClassWizard will add and remove member functions here.
  57.         //    DO NOT EDIT what you see in these blocks of generated code !
  58.     //}}AFX_MSG
  59.     DECLARE_MESSAGE_MAP()
  60.  
  61. };
  62.  
  63.  
  64. /////////////////////////////////////////////////////////////////////////////
  65.  
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68.  
  69. #endif // !defined(AFX_EXAMPLE5_H__24F84513_48FB_447D_85BA_BC5FC204464B__INCLUDED_)
  70.