forked from metin2/client
27 lines
381 B
C
27 lines
381 B
C
|
#pragma once
|
||
|
|
||
|
#include <deque>
|
||
|
#include <string>
|
||
|
|
||
|
class CPathStack
|
||
|
{
|
||
|
public:
|
||
|
CPathStack();
|
||
|
virtual ~CPathStack();
|
||
|
|
||
|
void SetBase();
|
||
|
|
||
|
void MoveBase();
|
||
|
|
||
|
void Push();
|
||
|
|
||
|
bool Pop();
|
||
|
|
||
|
void Move(const char* c_szPathName);
|
||
|
void GetCurrentPathName(std::string* pstCurPathName);
|
||
|
|
||
|
protected:
|
||
|
std::string m_stBasePathName;
|
||
|
std::deque<std::string> m_stPathNameDeque;
|
||
|
};
|