| 51 | |
| 52 | |
| 53 | static wxString GetDefaultsFile( const wxString &t, const wxString &f ) |
| 54 | { |
| 55 | #ifdef UI_BINARY |
| 56 | return SamApp::GetRuntimePath() + "/defaults/" + t + "_" + f; |
| 57 | #elif defined(__LOAD_AS_JSON__) |
| 58 | return SamApp::GetRuntimePath() + "/defaults/" + t + "_" + f + ".json"; |
| 59 | // return SamApp::GetRuntimePath() + "/defaults/" + t + "_" + f + ".zip"; |
| 60 | #else |
| 61 | return SamApp::GetRuntimePath() + "/defaults/" + t + "_" + f + ".txt"; |
| 62 | #endif |
| 63 | } |
| 64 | |
| 65 | static wxString GetTypeStr( int type ) |
| 66 | { |
no outgoing calls
no test coverage detected