MCPcopy Create free account
hub / github.com/NatLabRockies/SAM / GetDefaultsFile

Function GetDefaultsFile

src/defmgr.cpp:53–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51
52
53static 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
65static wxString GetTypeStr( int type )
66{

Callers 6

DefaultsManagerMethod · 0.85
OnSaveAsTypeMethod · 0.85
OnQueryMethod · 0.85
OnLoadMethod · 0.85
OnModifyMethod · 0.85
OnDeleteVarMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected