-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBEToolboxLib.h
44 lines (40 loc) · 1.67 KB
/
BEToolboxLib.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
///////////////////////////////////////////////////////////////////////
// BEToolbox
// Copyright © 1999-2025 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
///////////////////////////////////////////////////////////////////////
#pragma once
// Define BUILDBETOOLBOXLIB when building this library
// For static builds, define BETOOLBOXLIB
// For static binding, define BETOOLBOXLIB
// For dynamic binding, nothing is required to be defined
#if defined (BUILDBETOOLBOXLIB) && !defined(BETOOLBOXLIB)
#define BETCLASS __declspec(dllexport)
#define BETFUNC __declspec(dllexport)
#define BETTPL template class BETCLASS
#elif defined(BETOOLBOXLIB)
#define BETCLASS
#define BETFUNC
#define BETTPL
#else
#define BETCLASS __declspec(dllimport)
#define BETFUNC
#define BETTPL extern template class BETFUNC
#endif
#include <AutoLib.h>