Mercurial > mercurial > hgweb_mover.cgi
comparison src/testtune.cpp @ 8:b59dfcc84d7a default tip
v0.4b
author | pyon@macmini |
---|---|
date | Thu, 13 Oct 2011 20:13:41 +0900 |
parents | 3b734fd6ee2b |
children |
comparison
equal
deleted
inserted
replaced
7:bfa0800f1176 | 8:b59dfcc84d7a |
---|---|
1 // Filename : testtune.cpp | 1 // Filename : testtune.cpp |
2 // Last Change: 06-Oct-2011. | 2 // Last Change: 13-Oct-2011. |
3 // | 3 // |
4 | 4 |
5 #include "wx/utils.h" | 5 #include "wx/utils.h" |
6 #include "wx/file.h" | 6 #include "wx/file.h" |
7 #include "wx/string.h" | 7 #include "wx/string.h" |
92 } | 92 } |
93 | 93 |
94 int main( int argc, char **argv ) | 94 int main( int argc, char **argv ) |
95 { | 95 { |
96 wxInitAllImageHandlers(); | 96 wxInitAllImageHandlers(); |
97 //wxString file = wxT("nodetect/img045.jpg"); | 97 wxString file = wxT("img999.jpg"); |
98 //wxString file = wxT("nodetect/img073.jpg"); | |
99 //wxString file = wxT("nodetect/img174.jpg"); | |
100 //wxString file = wxT("nodetect/img182.jpg"); | |
101 //wxString file = wxT("nodetect/img246.jpg"); | |
102 //wxString file = wxT("nodetect/img268.jpg"); | |
103 wxString file = wxT("nodetect/img294.jpg"); | |
104 | 98 |
105 if ( IsMarksheet( file ) ) wxPuts(file+wxT(" is perhaps marksheet !")); | 99 if ( IsMarksheet( file ) ) wxPuts(file+wxT(" is perhaps marksheet !")); |
106 wxString hhs = GuessHhs( file ); | 100 wxString hhs = GuessHhs( file ); |
107 wxPuts(hhs); | 101 wxPuts(hhs); |
108 | 102 |