home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / sheriffa / slsdemo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-15  |  1.6 KB  |  66 lines

  1. // SlsDemo.h : main header file for the SLSDEMO application
  2. //
  3.  
  4. #if !defined(AFX_SLSDEMO_H__9FE45CD4_230F_11D1_A3B6_000000000000__INCLUDED_)
  5. #define AFX_SLSDEMO_H__9FE45CD4_230F_11D1_A3B6_000000000000__INCLUDED_
  6.  
  7. #if _MSC_VER >= 1000
  8. #pragma once
  9. #endif // _MSC_VER >= 1000
  10.  
  11. #ifndef __AFXWIN_H__
  12.     #error include 'stdafx.h' before including this file for PCH
  13. #endif
  14.  
  15. #include "resource.h"       // main symbols
  16. #include "sheriff.h"
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CSlsDemoApp:
  19. // See SlsDemo.cpp for the implementation of this class
  20. //
  21.  
  22. class CSlsDemoApp : public CWinApp
  23. {
  24. public:
  25.     CSheriff    *m_pSheriff;
  26.     BOOL        m_bLicenceOK;
  27.     BOOL        m_nAccessKey;
  28.     CString        m_strUserName;
  29.  
  30.     BOOL CheckLicence();
  31.     BOOL RegisterProduct();
  32.     BOOL RegisterLicence();
  33.  
  34.     BOOL m_bRunInDemoMode;
  35.     void RunInDemoMode() { m_bRunInDemoMode=TRUE; }
  36.     void ShowSheriffError();
  37.  
  38.     CSlsDemoApp();
  39.     ~CSlsDemoApp();
  40.  
  41. // Overrides
  42.     // ClassWizard generated virtual function overrides
  43.     //{{AFX_VIRTUAL(CSlsDemoApp)
  44.     public:
  45.     virtual BOOL InitInstance();
  46.     virtual BOOL ExitInstance();
  47.     //}}AFX_VIRTUAL
  48.  
  49. // Implementation
  50.  
  51.     //{{AFX_MSG(CSlsDemoApp)
  52.     afx_msg void OnAppAbout();
  53.     afx_msg void OnTestExport();
  54.     afx_msg void OnTestQueryuserinfo();
  55.     //}}AFX_MSG
  56.     DECLARE_MESSAGE_MAP()
  57. };
  58.  
  59.  
  60. /////////////////////////////////////////////////////////////////////////////
  61.  
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  64.  
  65. #endif // !defined(AFX_SLSDEMO_H__9FE45CD4_230F_11D1_A3B6_000000000000__INCLUDED_)
  66.