| 1 |
#ifndef FILEPATH_HPP |
| 2 |
#define FILEPATH_HPP |
| 3 |
|
| 4 |
#include "codelite_exports.h" |
| 5 |
#include <wx/string.h> |
| 6 |
|
| 7 |
namespace LSP |
| 8 |
{ |
| 9 |
class WXDLLIMPEXP_CL FilePath |
| 10 |
{ |
| 11 |
wxString m_path; |
| 12 |
bool m_isRemoteFile = false; |
| 13 |
|
| 14 |
public: |
| 15 |
FilePath(); |
| 16 |
FilePath(const wxString& path); |
| 17 |
virtual ~FilePath(); |
| 18 |
|
| 19 |
void SetIsRemoteFile(bool isRemoteFile) { this->m_isRemoteFile = isRemoteFile; } |
| 20 |
void SetPath(const wxString& path) { this->m_path = path; } |
| 21 |
|
| 22 |
bool IsRemoteFile() const { return m_isRemoteFile; } |
| 23 |
const wxString& GetPath() const { return m_path; } |
| 24 |
}; |
| 25 |
} // namespace LSP |
| 26 |
#endif // FILEPATH_HPP |