diff options
author | George Hazan <george.hazan@gmail.com> | 2023-07-27 11:44:08 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-07-27 11:44:08 +0300 |
commit | 18249f6a5acc26c75005526c6dfebcf112b7141d (patch) | |
tree | 9f213149887e237e24cf5d85aacae861544d7c81 /include | |
parent | 73c31a3f9ac9f323d6a17a910fb6a8a32416c7bb (diff) |
fixes #3584 (Оффлайновые файлы: не открывать скачанный файл автоматически)
Diffstat (limited to 'include')
-rw-r--r-- | include/m_protosvc.h | 3 | ||||
-rw-r--r-- | include/m_utils.h | 4 |
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();
|