WiiFlow_Lite/source/list/list.hpp
fix94.1 72a7106fad -added dynamic emulator plugin support, wiiflow will now read the emulator
dol name, rom path and everything else needed from a ini in the wiiflow/plugins
folder, see http://www.mediafire.com/?kj6dalp2ly3y35j for the currently 4
emulator mod inis.
2012-04-09 23:19:08 +00:00

34 lines
866 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 "safe_vector.hpp"
#include "wbfs_ext.h"
#include "libwbfs/libwbfs.h"
#include "disc.h"
#include "text.hpp"
#include "cache.hpp"
#include "config/config.hpp"
using namespace std;
template <typename T>
class CList
{
public:
CList(){};
~CList(){};
void GetPaths(safe_vector<string> &pathlist, string containing, string directory, bool wbfs_fs = false);
void GetHeaders(safe_vector<string> pathlist, safe_vector<T> &headerlist, string, string, string, Config &plugin);
void GetChannels(safe_vector<T> &headerlist, string, u32, string);
private:
void Check_For_ID(u8 *id, string path, string one, string two);
};
#endif