From 18249f6a5acc26c75005526c6dfebcf112b7141d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Jul 2023 11:44:08 +0300 Subject: =?UTF-8?q?fixes=20#3584=20(=D0=9E=D1=84=D1=84=D0=BB=D0=B0=D0=B9?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D1=8B=D0=B5=20=D1=84=D0=B0=D0=B9=D0=BB=D1=8B?= =?UTF-8?q?:=20=D0=BD=D0=B5=20=D0=BE=D1=82=D0=BA=D1=80=D1=8B=D0=B2=D0=B0?= =?UTF-8?q?=D1=82=D1=8C=20=D1=81=D0=BA=D0=B0=D1=87=D0=B0=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D0=B9=20=D1=84=D0=B0=D0=B9=D0=BB=20=D0=B0=D0=B2=D1=82=D0=BE?= =?UTF-8?q?=D0=BC=D0=B0=D1=82=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/m_protosvc.h | 3 ++- include/m_utils.h | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'include') 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(); -- cgit v1.2.3