summaryrefslogtreecommitdiff
path: root/Bus/IvyAudioMon
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:06:41 +0000
committerfcolin2007-02-01 13:06:41 +0000
commit5c9f0cef88711a777d5521a7d549da7b5038c8c8 (patch)
tree91f222b656d895e61a705aa9da013787c28c3b15 /Bus/IvyAudioMon
parentc5683980eb7b0fe47f4dda86b34c28e665769ce9 (diff)
downloadivy-cplusplus-5c9f0cef88711a777d5521a7d549da7b5038c8c8.zip
ivy-cplusplus-5c9f0cef88711a777d5521a7d549da7b5038c8c8.tar.gz
ivy-cplusplus-5c9f0cef88711a777d5521a7d549da7b5038c8c8.tar.bz2
ivy-cplusplus-5c9f0cef88711a777d5521a7d549da7b5038c8c8.tar.xz
Utilisateur : Fcolin Date : 28/09/04 Heure : 15:06 Archivé dans $/Bus/IvyAudioMon Commentaire: (vss 2)
Diffstat (limited to 'Bus/IvyAudioMon')
-rw-r--r--Bus/IvyAudioMon/ParseCmdLine.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/Bus/IvyAudioMon/ParseCmdLine.cpp b/Bus/IvyAudioMon/ParseCmdLine.cpp
index fc6a1d8..59a27ce 100644
--- a/Bus/IvyAudioMon/ParseCmdLine.cpp
+++ b/Bus/IvyAudioMon/ParseCmdLine.cpp
@@ -20,8 +20,8 @@ ParseCmdLine::ParseCmdLine()
{
m_start = TRUE;
m_busNumber = "";
- m_prefix = "IvyFileMon ";
- m_directory = "c:\\anoto_log\\strokes";
+ m_prefix = "IvyAudioMon ";
+ m_seuil = 15.0;
m_extent = "*.txt";
}
@@ -48,8 +48,8 @@ void ParseCmdLine::ParseParamFlag(LPCTSTR pszParam)
m_start = TRUE;
else if (lstrcmpi(pszParam, TEXT("bus")) == 0)
m_shellCommand = BusNumber;
- else if (lstrcmpi(pszParam, TEXT("directory")) == 0)
- m_shellCommand = Directory;
+ else if (lstrcmpi(pszParam, TEXT("seuil")) == 0)
+ m_shellCommand = Seuil;
else if (lstrcmpi(pszParam, TEXT("prefix")) == 0)
m_shellCommand = Prefix;
else if (lstrcmpi(pszParam, TEXT("extent")) == 0)
@@ -63,8 +63,8 @@ void ParseCmdLine::ParseParamNotFlag(LPCTSTR pszParam)
case BusNumber:
m_busNumber = pszParam;
break;
- case Directory:
- m_directory = pszParam;
+ case Seuil:
+ m_seuil = atof(pszParam);
break;
case Prefix:
m_prefix = pszParam;