libsaria: Remove LibPath class
I'm using a simple struct for this now (see library.h). Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
parent
c5a84807be
commit
d6eb7ebb35
|
@ -1,38 +0,0 @@
|
|||
#ifndef LIBSARIA_LIBRARY_PATH_H
|
||||
#define LIBSARIA_LIBRARY_PATH_H
|
||||
|
||||
#include <libsaria/library.h>
|
||||
#include <libsaria/track.h>
|
||||
|
||||
#include <list>
|
||||
#include <string>
|
||||
using namespace std;
|
||||
|
||||
namespace libsaria
|
||||
{
|
||||
class LibraryPath {
|
||||
private:
|
||||
string path;
|
||||
list<libsaria::Track *> file_list;
|
||||
//bool has_id(sid_t);
|
||||
|
||||
public:
|
||||
LibraryPath();
|
||||
LibraryPath(string);
|
||||
~LibraryPath();
|
||||
|
||||
//void load_file(InFile &);
|
||||
string get_path();
|
||||
unsigned int get_size();
|
||||
void prepare_for_removal();
|
||||
//void get_info(void (*)(struct libsaria::library::PathInfo &));
|
||||
//bool add_track(string &, sid_t &);
|
||||
void validate_track(libsaria::Track *);
|
||||
//void save(OutFile &);
|
||||
|
||||
void update();
|
||||
void validate();
|
||||
};
|
||||
}; /* Namespace: libsaria */
|
||||
|
||||
#endif /* LIBSARIA_LIBRARY_PATH_H */
|
|
@ -1,6 +1,5 @@
|
|||
// Copyright (c) 2011 Bryan Schumaker.
|
||||
#include <libsaria/path.h>
|
||||
#include <libsaria/libpath.h>
|
||||
|
||||
#define MAX_VALIDATE 250
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@ using namespace std;
|
|||
#include <ocarina/ocarina.h>
|
||||
|
||||
#include <libsaria/library.h>
|
||||
#include <libsaria/libpath.h>
|
||||
#include <libsaria/print.h>
|
||||
|
||||
/* This is a gtk vbox */
|
||||
|
|
Loading…
Reference in New Issue