summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_protosvc.h3
-rw-r--r--include/m_utils.h4
2 files changed, 6 insertions, 1 deletions
diff --git a/include/m_protosvc.h b/include/m_protosvc.h
index 5941bbe213..80cc51026d 100644
--- a/include/m_protosvc.h
+++ b/include/m_protosvc.h
@@ -32,6 +32,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define M_PROTOSVC_H__ 1
#include "m_protocols.h"
+#include "m_utils.h"
/////////////////////////////////////////////////////////////////////////////////////////
// WARNING:
@@ -811,7 +812,7 @@ struct MIR_APP_EXPORT OFDTHREAD : public MNonCopyable
void ResetFileName(const wchar_t *pwszNewName);
MEVENT hDbEvent;
- CMStringW wszPath;
+ MFilePath wszPath;
bool bOpen;
};
diff --git a/include/m_utils.h b/include/m_utils.h
index 2ea38f07b4..1050964d93 100644
--- a/include/m_utils.h
+++ b/include/m_utils.h
@@ -305,7 +305,11 @@ public:
MFilePath(): CMStringW() {}
MFilePath(const wchar_t *init) : CMStringW(init) {}
+ CMStringW getExtension() const;
+
+ bool isExecutable() const;
bool isExist() const;
+
bool move(const wchar_t *pwszDest);
MFileIterator search();