From: Michael D. C. <goi...@us...> - 2009-09-22 03:31:10
|
Update of /cvsroot/zoolib/zoolib/tests/manual/file/ZUtil_File In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv27598/ZUtil_File Modified Files: ZUtil_File_t.cpp Log Message: Build ZUtil_File (file panel) test harness on Mac OS X with Xcode. Index: ZUtil_File_t.cpp =================================================================== RCS file: /cvsroot/zoolib/zoolib/tests/manual/file/ZUtil_File/ZUtil_File_t.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- ZUtil_File_t.cpp 13 Sep 2007 18:21:00 -0000 1.1 +++ ZUtil_File_t.cpp 22 Sep 2009 03:30:58 -0000 1.2 @@ -36,10 +36,12 @@ #include "ZUtil_File.h" +/* using std::exception; using std::vector; using std::pair; using std::string; +*/ class FileDialogTestApp: public ZApp { @@ -169,8 +171,10 @@ typeList.push_back( pair< string, string >( "MP3 Audio", ".mp3" ) ); typeList.push_back( pair< string, string >( "MP4 Audio", ".m4a" ) ); typeList.push_back( pair< string, string >( "AAC Audio", ".aac" ) ); - - fdResult = ZUtil_File::sOpenFileDialog( "Select an Audio File", + + string prompt( "Select an Audio File" ); + + fdResult = ZUtil_File::sOpenFileDialog( prompt, typeList, speck, true, |