Lhaz
lhazfile_db.h
[詳解]
1 /*************************************************************************/
6 #pragma once
7 
8 #include <windows.h>
9 #include <gcroot.h>
10 #include "lhazfile.h"
11 
12 #using <AppLimit.CloudComputing.SharpBox.dll>
13 
15 
16 class MYSTR;
17 
18 class LHAZFILE_DB : public LHAZFILE {
19 
20 public:
21  LHAZFILE_DB(const WSTR& name, const time_t& t, int icon, bool isdir);
22  LHAZFILE_DB(const WSTR& name, const time_t& t, int icon, bool isdir, LONGLONG size, ICloudFileSystemEntry^ entry, ICloudDirectoryEntry^ parent);
23  ‾LHAZFILE_DB(void);
24  //
25  ICloudDirectoryEntry^ GetParent(void) const { return m_parent; }
26  ICloudFileSystemEntry^ GetEntry(void) const { return m_entry; }
27  bool IsNewDir(void) const { return m_newdir; }
28 
29 private:
30  gcroot<ICloudFileSystemEntry^> m_entry;
31  bool m_newdir;
32  gcroot<ICloudDirectoryEntry^> m_parent;
33 
34 };
Definition: lhazfile.h:14
ICloudFileSystemEntry^ GetEntry(void) const
Definition: lhazfile_db.h:26
bool IsNewDir(void) const
Definition: lhazfile_db.h:27
gcroot< ICloudDirectoryEntry^ > m_parent
Definition: lhazfile_db.h:32
Definition: lhazfile_db.h:18
ICloudDirectoryEntry^ GetParent(void) const
Definition: lhazfile_db.h:25
gcroot< ICloudFileSystemEntry^ > m_entry
Definition: lhazfile_db.h:30
bool m_newdir
Definition: lhazfile_db.h:31