Update of /cvsroot/com0com/hub4com/plugins/serial
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv20870
Modified Files:
comparams.cpp port.cpp serial.vcproj
Log Message:
Removed linking with ....utils.h and ....utils.cpp
Index: comparams.cpp
===================================================================
RCS file: /cvsroot/com0com/hub4com/plugins/serial/comparams.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** comparams.cpp 7 Apr 2008 12:28:03 -0000 1.2
--- comparams.cpp 28 Aug 2008 10:24:35 -0000 1.3
***************
*** 20,23 ****
--- 20,26 ----
*
* $Log$
+ * Revision 1.3 2008/08/28 10:24:35 vfrolov
+ * Removed linking with ....utils.h and ....utils.cpp
+ *
* Revision 1.2 2008/04/07 12:28:03 vfrolov
* Replaced --rt-events option by SET_RT_EVENTS message
***************
*** 39,48 ****
* Initial revision
*
- *
*/
#include "precomp.h"
#include "comparams.h"
- #include "../../utils.h"
///////////////////////////////////////////////////////////////
--- 42,49 ----
Index: serial.vcproj
===================================================================
RCS file: /cvsroot/com0com/hub4com/plugins/serial/serial.vcproj,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** serial.vcproj 20 Aug 2008 10:40:19 -0000 1.2
--- serial.vcproj 28 Aug 2008 10:24:35 -0000 1.3
***************
*** 210,217 ****
>
</File>
- <File
- RelativePath="..\..\utils.h"
- >
- </File>
</Filter>
<Filter
--- 210,213 ----
***************
*** 260,267 ****
</FileConfiguration>
</File>
- <File
- RelativePath="..\..\utils.cpp"
- >
- </File>
</Filter>
</Files>
--- 256,259 ----
Index: port.cpp
===================================================================
RCS file: /cvsroot/com0com/hub4com/plugins/serial/port.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** port.cpp 20 Aug 2008 14:30:19 -0000 1.7
--- port.cpp 28 Aug 2008 10:24:35 -0000 1.8
***************
*** 20,23 ****
--- 20,26 ----
*
* $Log$
+ * Revision 1.8 2008/08/28 10:24:35 vfrolov
+ * Removed linking with ....utils.h and ....utils.cpp
+ *
* Revision 1.7 2008/08/20 14:30:19 vfrolov
* Redesigned serial port options
***************
*** 47,53 ****
#include "comport.h"
#include "import.h"
- #include "../../utils.h"
///////////////////////////////////////////////////////////////
static PLUGIN_TYPE CALLBACK GetPluginType()
{
--- 50,65 ----
#include "comport.h"
#include "import.h"
///////////////////////////////////////////////////////////////
+ static const char *GetParam(const char *pArg, const char *pPattern)
+ {
+ size_t lenPattern = strlen(pPattern);
+
+ if (_strnicmp(pArg, pPattern, lenPattern) != 0)
+ return NULL;
+
+ return pArg + lenPattern;
+ }
+ ///////////////////////////////////////////////////////////////
static PLUGIN_TYPE CALLBACK GetPluginType()
{
|