libsaria: Move update_path() function

Now it's in the library.cpp file.
This commit is contained in:
Bryan Schumaker 2011-12-29 21:42:07 -05:00
parent dbeb2981d4
commit 8e8eec3556
2 changed files with 5 additions and 15 deletions

View File

@ -37,6 +37,11 @@ namespace libsaria
it->update();
}
void library::update_path(string dir)
{
get_path(dir)->update();
}
void library::refresh()
{
trigger_callback(LIBRARY_REFRESH);

View File

@ -1,15 +0,0 @@
#include <libsaria/track.h>
#include <libsaria/library.h>
#include <libsaria/index.h>
#include "library.h"
namespace libsaria
{
void library::update_path(string dir)
{
get_path(dir)->update();
}
}; /* Namespace: libsaria */