From 48745022881c2e9532dc5b04594ca81038267804 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Sun, 17 Feb 2008 19:16:55 +0000 Subject: [PATCH] whops, forgot this file earlier --- sync/device.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sync/device.cpp diff --git a/sync/device.cpp b/sync/device.cpp new file mode 100644 index 0000000..5b299dc --- /dev/null +++ b/sync/device.cpp @@ -0,0 +1,16 @@ +/* Copyright (C) 2007-2008 Erik Faye-Lund and Egbert Teeselink + * For conditions of distribution and use, see copyright notice in LICENSE.TXT + */ + +#include "device.h" + +using namespace sync; + +std::string Device::getTrackFileName(std::string trackName) +{ + std::string fileName = baseName.c_str(); + fileName += "_"; + fileName += trackName; + fileName += ".track"; + return fileName; +}