Skip to content

Commit 19a8b0e

Browse files
authored
Merge pull request #20 from uv-software/development
Update PCANBasic DLL to version 4.9.0
2 parents 1ed9c4e + c6180ba commit 19a8b0e

File tree

20 files changed

+255
-100
lines changed

20 files changed

+255
-100
lines changed

Libraries/CANAPI/uvcanpcb.rc

0 Bytes
Binary file not shown.

Libraries/CANAPI/uvcanpcb.vcxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
<ClCompile>
153153
<WarningLevel>Level3</WarningLevel>
154154
<SDLCheck>true</SDLCheck>
155-
<PreprocessorDefinitions>WIN32;_DEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
155+
<PreprocessorDefinitions>WIN32;_DEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=1</PreprocessorDefinitions>
156156
<ConformanceMode>true</ConformanceMode>
157157
<PrecompiledHeader>Use</PrecompiledHeader>
158158
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -170,7 +170,7 @@
170170
<ClCompile>
171171
<WarningLevel>Level3</WarningLevel>
172172
<SDLCheck>true</SDLCheck>
173-
<PreprocessorDefinitions>WIN32;_DEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
173+
<PreprocessorDefinitions>WIN32;_DEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=1</PreprocessorDefinitions>
174174
<ConformanceMode>true</ConformanceMode>
175175
<PrecompiledHeader>Use</PrecompiledHeader>
176176
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -190,7 +190,7 @@
190190
<FunctionLevelLinking>true</FunctionLevelLinking>
191191
<IntrinsicFunctions>true</IntrinsicFunctions>
192192
<SDLCheck>true</SDLCheck>
193-
<PreprocessorDefinitions>WIN32;NDEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
193+
<PreprocessorDefinitions>WIN32;NDEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=1</PreprocessorDefinitions>
194194
<ConformanceMode>true</ConformanceMode>
195195
<PrecompiledHeader>Use</PrecompiledHeader>
196196
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -211,7 +211,7 @@
211211
<FunctionLevelLinking>true</FunctionLevelLinking>
212212
<IntrinsicFunctions>true</IntrinsicFunctions>
213213
<SDLCheck>true</SDLCheck>
214-
<PreprocessorDefinitions>WIN32;NDEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
214+
<PreprocessorDefinitions>WIN32;NDEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=1</PreprocessorDefinitions>
215215
<ConformanceMode>true</ConformanceMode>
216216
<PrecompiledHeader>Use</PrecompiledHeader>
217217
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -230,7 +230,7 @@
230230
<ClCompile>
231231
<WarningLevel>Level3</WarningLevel>
232232
<SDLCheck>true</SDLCheck>
233-
<PreprocessorDefinitions>_DEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
233+
<PreprocessorDefinitions>_DEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=1</PreprocessorDefinitions>
234234
<ConformanceMode>true</ConformanceMode>
235235
<PrecompiledHeader>Use</PrecompiledHeader>
236236
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -248,7 +248,7 @@
248248
<ClCompile>
249249
<WarningLevel>Level3</WarningLevel>
250250
<SDLCheck>true</SDLCheck>
251-
<PreprocessorDefinitions>_DEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
251+
<PreprocessorDefinitions>_DEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=1</PreprocessorDefinitions>
252252
<ConformanceMode>true</ConformanceMode>
253253
<PrecompiledHeader>Use</PrecompiledHeader>
254254
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -268,7 +268,7 @@
268268
<FunctionLevelLinking>true</FunctionLevelLinking>
269269
<IntrinsicFunctions>true</IntrinsicFunctions>
270270
<SDLCheck>true</SDLCheck>
271-
<PreprocessorDefinitions>NDEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
271+
<PreprocessorDefinitions>NDEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=1</PreprocessorDefinitions>
272272
<ConformanceMode>true</ConformanceMode>
273273
<PrecompiledHeader>Use</PrecompiledHeader>
274274
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -289,7 +289,7 @@
289289
<FunctionLevelLinking>true</FunctionLevelLinking>
290290
<IntrinsicFunctions>true</IntrinsicFunctions>
291291
<SDLCheck>true</SDLCheck>
292-
<PreprocessorDefinitions>NDEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
292+
<PreprocessorDefinitions>NDEBUG;UVCANPCB_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=1</PreprocessorDefinitions>
293293
<ConformanceMode>true</ConformanceMode>
294294
<PrecompiledHeader>Use</PrecompiledHeader>
295295
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>

Libraries/PeakCAN/PeakCAN.rc

-4 Bytes
Binary file not shown.

Libraries/PeakCAN/PeakCAN.vcxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
<ClCompile>
153153
<WarningLevel>Level3</WarningLevel>
154154
<SDLCheck>true</SDLCheck>
155-
<PreprocessorDefinitions>WIN32;_DEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
155+
<PreprocessorDefinitions>WIN32;_DEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=0</PreprocessorDefinitions>
156156
<ConformanceMode>true</ConformanceMode>
157157
<PrecompiledHeader>Use</PrecompiledHeader>
158158
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -170,7 +170,7 @@
170170
<ClCompile>
171171
<WarningLevel>Level3</WarningLevel>
172172
<SDLCheck>true</SDLCheck>
173-
<PreprocessorDefinitions>WIN32;_DEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
173+
<PreprocessorDefinitions>WIN32;_DEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=0</PreprocessorDefinitions>
174174
<ConformanceMode>true</ConformanceMode>
175175
<PrecompiledHeader>Use</PrecompiledHeader>
176176
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -190,7 +190,7 @@
190190
<FunctionLevelLinking>true</FunctionLevelLinking>
191191
<IntrinsicFunctions>true</IntrinsicFunctions>
192192
<SDLCheck>true</SDLCheck>
193-
<PreprocessorDefinitions>WIN32;NDEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
193+
<PreprocessorDefinitions>WIN32;NDEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=0</PreprocessorDefinitions>
194194
<ConformanceMode>true</ConformanceMode>
195195
<PrecompiledHeader>Use</PrecompiledHeader>
196196
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -211,7 +211,7 @@
211211
<FunctionLevelLinking>true</FunctionLevelLinking>
212212
<IntrinsicFunctions>true</IntrinsicFunctions>
213213
<SDLCheck>true</SDLCheck>
214-
<PreprocessorDefinitions>WIN32;NDEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
214+
<PreprocessorDefinitions>WIN32;NDEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=0</PreprocessorDefinitions>
215215
<ConformanceMode>true</ConformanceMode>
216216
<PrecompiledHeader>Use</PrecompiledHeader>
217217
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -230,7 +230,7 @@
230230
<ClCompile>
231231
<WarningLevel>Level3</WarningLevel>
232232
<SDLCheck>true</SDLCheck>
233-
<PreprocessorDefinitions>_DEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
233+
<PreprocessorDefinitions>_DEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=0</PreprocessorDefinitions>
234234
<ConformanceMode>true</ConformanceMode>
235235
<PrecompiledHeader>Use</PrecompiledHeader>
236236
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -248,7 +248,7 @@
248248
<ClCompile>
249249
<WarningLevel>Level3</WarningLevel>
250250
<SDLCheck>true</SDLCheck>
251-
<PreprocessorDefinitions>_DEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
251+
<PreprocessorDefinitions>_DEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=0</PreprocessorDefinitions>
252252
<ConformanceMode>true</ConformanceMode>
253253
<PrecompiledHeader>Use</PrecompiledHeader>
254254
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -268,7 +268,7 @@
268268
<FunctionLevelLinking>true</FunctionLevelLinking>
269269
<IntrinsicFunctions>true</IntrinsicFunctions>
270270
<SDLCheck>true</SDLCheck>
271-
<PreprocessorDefinitions>NDEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
271+
<PreprocessorDefinitions>NDEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=0</PreprocessorDefinitions>
272272
<ConformanceMode>true</ConformanceMode>
273273
<PrecompiledHeader>Use</PrecompiledHeader>
274274
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
@@ -289,7 +289,7 @@
289289
<FunctionLevelLinking>true</FunctionLevelLinking>
290290
<IntrinsicFunctions>true</IntrinsicFunctions>
291291
<SDLCheck>true</SDLCheck>
292-
<PreprocessorDefinitions>NDEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1</PreprocessorDefinitions>
292+
<PreprocessorDefinitions>NDEBUG;PEAKCAN_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS;OPTION_CANAPI_DLLEXPORT=0;OPTION_CANCPP_DLLEXPORT=1;OPTION_CANAPI_LIBRARY=0;OPTION_CANAPI_DRIVER=1;OPTION_CANAPI_COMPANIONS=1;OPTION_CANAPI_RETVALS=0</PreprocessorDefinitions>
293293
<ConformanceMode>true</ConformanceMode>
294294
<PrecompiledHeader>Use</PrecompiledHeader>
295295
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>

Sources/CANAPI/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.svn
22
# we don't use the JSON files yet
33
can_dev.?
4+
vanilla.?

Sources/CANAPI/CANAPI.h

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@
7373
/// zero to compile your program with the CAN API source files or to
7474
/// link your program with the static library at compile-time.
7575
///
76-
/// \author $Author: eris $
76+
/// \author $Author: quaoar $
7777
//
78-
/// \version $Rev: 1270 $
78+
/// \version $Rev: 1286 $
7979
//
8080
/// \defgroup can_api CAN Interface API, Version 3
8181
/// \{
@@ -191,7 +191,20 @@ class CANCPP CCanApi {
191191
char m_szVendorName[CANPROP_MAX_BUFFER_SIZE]; ///< vendor name at actual index in the vendor list
192192
char m_szVendorDllName[CANPROP_MAX_BUFFER_SIZE]; ///< file name of the DLL at actual index in the vendor list
193193
};
194-
/// \brief query library information of the first CAN API library in the
194+
/// \brief sets the search path for readings library informations from
195+
/// JSON files.
196+
//
197+
/// \note The search path can only be set once, either by ths function
198+
/// or by the non-default constructor with a path argument.
199+
//
200+
/// \param[in] path - path name, or NULL for current working directory
201+
//
202+
/// \returns true if the search path has been successfully set, or
203+
/// false on error.
204+
//
205+
static bool SetSearchPath(const char *path);
206+
207+
/// \brief queries library information of the first CAN API library in the
195208
/// list of vendors, if any.
196209
//
197210
/// \param[out] info - the library information of the first entry in the list
@@ -201,7 +214,7 @@ class CANCPP CCanApi {
201214
//
202215
static bool GetFirstLibrary(SLibraryInfo &info);
203216

204-
/// \brief query library information of the next CAN API library in the
217+
/// \brief queries library information of the next CAN API library in the
205218
/// list of vendors, if any.
206219
//
207220
/// \param[out] info - the library information of the next entry in the list
@@ -211,7 +224,7 @@ class CANCPP CCanApi {
211224
//
212225
static bool GetNextLibrary(SLibraryInfo &info);
213226
#endif
214-
/// \brief query channel information of the first CAN interface in the
227+
/// \brief queries channel information of the first CAN interface in the
215228
/// list of CAN interfaces, if any.
216229
//
217230
/// \param[in] library - library id of the CAN interface list, or -1 for all vendors
@@ -227,7 +240,7 @@ class CANCPP CCanApi {
227240
static bool GetFirstChannel(SChannelInfo &info, void *param = NULL);
228241
#endif
229242

230-
/// \brief query channel information of the next CAN interface in the
243+
/// \brief queries channel information of the next CAN interface in the
231244
/// list of CAN interfaces, if any.
232245
//
233246
/// \param[out] info - the channel information of the next entry in the list
@@ -515,4 +528,4 @@ class CANCPP CCanApi {
515528
/// \}
516529
#endif // CANAPI_H_INCLUDED
517530
/// \}
518-
// $Id: CANAPI.h 1270 2024-04-15 18:42:43Z eris $ Copyright (c) UV Software //
531+
// $Id: CANAPI.h 1286 2024-05-10 17:03:31Z quaoar $ Copyright (c) UV Software //

0 commit comments

Comments
 (0)