/
Barlist.h
107 lines (87 loc) · 3.54 KB
/
Barlist.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
///////////////////////////////////////////////////////////////////////
// Barlist - Barlist Extensible Application Framework
// Copyright © 1999-2024 Washington State Department of Transportation
// Bridge and Structures Office
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the Alternate Route Open Source License as
// published by the Washington State Department of Transportation,
// Bridge and Structures Office.
//
// This program is distributed in the hope that it will be useful, but
// distribution is AS IS, WITHOUT ANY WARRANTY; without even the implied
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
// the Alternate Route Open Source License for more details.
//
// You should have received a copy of the Alternate Route Open Source
// License along with this program; if not, write to the Washington
// State Department of Transportation, Bridge and Structures Office,
// P.O. Box 47340, Olympia, WA 98503, USA or e-mail
// Bridge_Support@wsdot.wa.gov
///////////////////////////////////////////////////////////////////////
// Barlist.h : main header file for the BARLIST application
//
#if !defined(AFX_BARLIST_H__0553A0AE_B8F3_454D_9146_0B973C138288__INCLUDED_)
#define AFX_BARLIST_H__0553A0AE_B8F3_454D_9146_0B973C138288__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 <EAF\EAFApp.h>
/////////////////////////////////////////////////////////////////////////////
// CBarlistApp:
// See Barlist.cpp for the implementation of this class
//
class CBarlistApp : public CEAFPluginApp
{
public:
CBarlistApp();
~CBarlistApp();
// CEAFPluginApp overrides
public:
virtual LPCTSTR GetAppPluginCategoryName() override;
virtual CATID GetAppPluginCategoryID() override;
virtual LPCTSTR GetPluginCategoryName() override;
virtual CATID GetPluginCategoryID() override;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBarlistApp)
public:
virtual BOOL InitInstance() override;
virtual int ExitInstance() override;
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CBarlistApp)
afx_msg void OnAppAbout();
afx_msg void OnHelpJoinArpList();
afx_msg void OnHelpInetWsdot();
afx_msg void OnHelpInetBarlist();
afx_msg void OnHelpInetARP();
afx_msg void OnHelp();
//}}AFX_MSG
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo) override;
DECLARE_MESSAGE_MAP()
protected:
virtual CEAFSplashScreenInfo GetSplashScreenInfo() override;
virtual LPCTSTR GetRegistryKey() override;
virtual CMDIFrameWnd* CreateMainFrame() override;
virtual CATID GetComponentInfoCategoryID() override;
virtual CString GetProductCode() override;
virtual CString GetDocumentationRootLocation() override;
public:
CString GetVersion(bool bIncludeBuildNumber) const;
CString GetVersionString(bool bIncludeBuildNumber) const;
// URL's
CString GetWsdotUrl();
CString GetWsdotBridgeUrl();
CString GetBarlistUrl();
private:
virtual void RegistryInit() override; // All registry initialization goes here
virtual void RegistryExit() override; // All registry cleanup goes here
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BARLIST_H__0553A0AE_B8F3_454D_9146_0B973C138288__INCLUDED_)