mirror of
https://github.com/libretro/Play-.git
synced 2025-01-23 17:44:45 +00:00
38 lines
995 B
C++
38 lines
995 B
C++
#ifndef _SAVE_H_
|
|
#define _SAVE_H_
|
|
|
|
#include <boost/filesystem/path.hpp>
|
|
#include <string>
|
|
#include <ctime>
|
|
#include "Types.h"
|
|
|
|
class CSave
|
|
{
|
|
public:
|
|
CSave(boost::filesystem::path&);
|
|
~CSave();
|
|
const wchar_t* GetName() const;
|
|
const char* GetId() const;
|
|
unsigned int GetSize() const;
|
|
boost::filesystem::path GetPath() const;
|
|
boost::filesystem::path GetNormalIconPath() const;
|
|
boost::filesystem::path GetDeletingIconPath() const;
|
|
boost::filesystem::path GetCopyingIconPath() const;
|
|
size_t GetSecondLineStartPosition() const;
|
|
time_t GetLastModificationTime() const;
|
|
|
|
private:
|
|
void ReadName(std::istream&);
|
|
|
|
boost::filesystem::path m_BasePath;
|
|
std::wstring m_sName;
|
|
std::string m_sId;
|
|
std::string m_sNormalIconFileName;
|
|
std::string m_sDeletingIconFileName;
|
|
std::string m_sCopyingIconFileName;
|
|
uint16 m_nSecondLineStartPosition;
|
|
time_t m_nLastModificationTime;
|
|
};
|
|
|
|
#endif
|