WiiFlow_Lite/source/list/list.hpp
fix94.1 6abfa87e0e -replaced all safe_vectors by regular vectors, there is no
need of it anymore, also removed miigotus wrapper
2012-05-06 12:03:43 +00:00

32 lines
814 B
C++

#ifndef CLIST
#define CLIST
#include <ogcsys.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <unistd.h>
#include "DeviceHandler.hpp"
#include "wbfs_ext.h"
#include "libwbfs/libwbfs.h"
#include "disc.h"
#include "text.hpp"
#include "cache.hpp"
#include "config/config.hpp"
template <typename T>
class CList
{
public:
CList(){};
~CList(){};
void GetPaths(vector<string> &pathlist, string containing, string directory, bool wbfs_fs = false, bool dml = false);
void GetHeaders(vector<string> pathlist, vector<T> &headerlist, string, string, string, Config &plugin);
void GetChannels(vector<T> &headerlist, string, u32, string);
private:
void Check_For_ID(u8 *id, string path, string one, string two);
};
#endif