namespace devices {
File::File(const std::string &file_name) :
- file_name_(file_name) {
+ file_name_(file_name)
+{
}
-std::string File::full_name() const {
- return boost::filesystem::path(file_name_).filename().string();
+std::string File::full_name() const
+{
+ return file_name_;
}
-std::string File::display_name(const DeviceManager&) const {
- return File::full_name();
+std::string File::display_name(const DeviceManager&) const
+{
+ return boost::filesystem::path(file_name_).filename().string();
}
} // namespace devices