summaryrefslogtreecommitdiff
path: root/Bus/Horloge/HorlogeParseCmdLine.cpp
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:29:31 +0000
committerfcolin2007-02-01 13:29:31 +0000
commitafe2e7dfc1388cad991e8d38dda7d648c137aa52 (patch)
tree92bf63d2b2b34a805927aa294c7c51912638f66a /Bus/Horloge/HorlogeParseCmdLine.cpp
parent0be65f8a110ee9bf5da9c93e0bd5b5b62b3bad0c (diff)
parent04c263c314499e38d64af9d4a1aa5e2b8d9d5ead (diff)
downloadivy-cplusplus-afe2e7dfc1388cad991e8d38dda7d648c137aa52.zip
ivy-cplusplus-afe2e7dfc1388cad991e8d38dda7d648c137aa52.tar.gz
ivy-cplusplus-afe2e7dfc1388cad991e8d38dda7d648c137aa52.tar.bz2
ivy-cplusplus-afe2e7dfc1388cad991e8d38dda7d648c137aa52.tar.xz
modif struct svnwindows@3001
Diffstat (limited to 'Bus/Horloge/HorlogeParseCmdLine.cpp')
-rw-r--r--Bus/Horloge/HorlogeParseCmdLine.cpp58
1 files changed, 0 insertions, 58 deletions
diff --git a/Bus/Horloge/HorlogeParseCmdLine.cpp b/Bus/Horloge/HorlogeParseCmdLine.cpp
deleted file mode 100644
index bd3e4e9..0000000
--- a/Bus/Horloge/HorlogeParseCmdLine.cpp
+++ /dev/null
@@ -1,58 +0,0 @@
-// HorlogeParseCmdLine.cpp: implementation of the HorlogeParseCmdLine class.
-//
-//////////////////////////////////////////////////////////////////////
-
-#include "stdafx.h"
-
-#include "HorlogeParseCmdLine.h"
-
-#ifdef _DEBUG
-#undef THIS_FILE
-static char THIS_FILE[]=__FILE__;
-#define new DEBUG_NEW
-#endif
-
-//////////////////////////////////////////////////////////////////////
-// Construction/Destruction
-//////////////////////////////////////////////////////////////////////
-
-HorlogeParseCmdLine::HorlogeParseCmdLine()
-{
- m_start = FALSE;
- m_busNumber = "";
-}
-
-HorlogeParseCmdLine::~HorlogeParseCmdLine()
-{
-
-}
-
-void HorlogeParseCmdLine::ParseParam(LPCTSTR lpszParam, BOOL bFlag, BOOL bLast)
-{
- if (bFlag)
- {
- ParseParamFlag(lpszParam);
- }
- else
- ParseParamNotFlag(lpszParam);
-
-}
-
-void HorlogeParseCmdLine::ParseParamFlag(LPCTSTR pszParam)
-{
-
- if (lstrcmpi(pszParam, TEXT("start")) == 0)
- m_start = TRUE;
- else if (lstrcmpi(pszParam, TEXT("bus")) == 0)
- m_shellCommand = BusNumber;
-}
-
-void HorlogeParseCmdLine::ParseParamNotFlag(LPCTSTR pszParam)
-{
- switch ( m_shellCommand )
- {
- case BusNumber:
- m_busNumber = pszParam;
- break;
- }
-}