Rust/CargoToml.cpp
raw| 1 | #include "CargoToml.hpp" |
| 2 | #include <wx/fileconf.h> |
| 3 | |
| 4 | CargoToml::CargoToml() {} |
| 5 | |
| 6 | CargoToml::~CargoToml() {} |
| 7 | |
| 8 | CargoToml& CargoToml::Load(const wxFileName& fn) |
| 9 | { |
| 10 | wxFileConfig conf("", "", fn.GetFullPath()); |
| 11 | conf.SetPath("/package"); |
| 12 | m_name = conf.Read("name"); |
| 13 | return *this; |
| 14 | } |