Lhaz
lhaztabcontent_db.h
[詳解]
1 /*************************************************************************/
6 #pragma once
7 
8 #include "lhaztabcontent.h"
9 #include <deque>
10 #include <gcroot.h>
11 
12 using std::deque;
13 
14 #using <AppLimit.CloudComputing.SharpBox.dll>
15 
17 
18 class LHAZFILE_DB;
19 class MYDROPBOX;
20 class MYTHREAD;
21 class PATH;
22 
24 
25 public:
26  LHAZTABCONTENT_DB(void);
28  HINSTANCE hins,
29  HWND parent,
30  DWORD dwStyle,
31  int lv_id,
32  bool edge,
33  int page,
34  HIMAGELIST himage,
35  const MYSTR& label,
36  TYPE type,
37  int lvx,
38  int panel_id,
39  int panel_x,
40  HWND panel_mes_hwnd,
41  int panel_mes,
42  int tree_id,
43  bool showtreeview,
44  std::vector<WSTR>& filters,
45  LHAZSTS* stsbar
46  );
47  ‾LHAZTABCONTENT_DB(void);
48  //
49  bool OnDownload(const MYSTR& destdir, bool decryption, bool opendest);
50  void OnDropFiles(const std::vector<WSTR>& files, const PATH& tempname);
51  void OnEnter(const PATH& tempdir);
52  int OnNotify(HWND hWnd, WPARAM wParam, LPARAM lParam, const MYSTR& destdir, const MYSTR& tempdir);
53  void OnRefresh(void);
54  void OnSelChange(void);
55  //
56  void SetColumn(HMENU menu, int sortkind, int sortrev);
57  bool UploadFiles(const vector<WSTR>& files);
58  bool UploadFiles(ICloudDirectoryEntry^ dir, const vector<WSTR>& files);
59 
60 private:
61  struct UPLOADFILES {
62  WSTR m_name;
63  gcroot<ICloudDirectoryEntry^> m_dir;
64  };
65  //
66  static gui::LVCOLM Columns[];
67  //
68  CRITICAL_SECTION m_crisec;
69  MYDROPBOX* m_dropbox;
70  MYTHREAD* m_thread;
71  deque<UPLOADFILES> m_uploadfiles;
72  //
73  static void Progress(int percent);
74  static DWORD WINAPI UploadThread(LPVOID);
75  //
76  void OnCopyURL(void);
77  void OnCreateFolder(void);
78  void OnEndLabelEdit(LPARAM lParam);
79  void OnEnter(int idx, const MYSTR& tempdir);
80  void OnEnterArchive(LHAZFILE_DB* file, const MYSTR& tempdir);
81  void OnExtHistory(int idx, UINT ret, const MYSTR& tempdir);
82  void OnExtMydoc(int idx, const MYSTR& tempdir);
83  void OnExtRegistered(int idx, UINT ret, const MYSTR& tempdir);
84  void OnIncrementalSearch(LPARAM lParam);
85  void OnItemChanged(LPARAM lParam);
86  void OnListview(WPARAM wParam, LPARAM lParam, const MYSTR& destdir, const MYSTR& tempdir);
87  void OnSelDirExtract(int idx, const MYSTR& tempdir);
88  void OnTrash(void);
89  //
90  void DispStsBar(void);
91  void Extract(int idx, const MYSTR& tempdir, const MYSTR& destdir);
92  MYSTR MakeTempDir(const MYSTR& dir);
93  void PopupMenu(void);
94  void PopupMenuOnFile(int idx, const MYSTR& destdir, const MYSTR& tempdir);
95 
96 };
XZ Utils and lzmadec command line tools are in the public domain unless GNU getopt_long had to be compiled and linked in from the lib directory The getopt_long code is under GNU LGPLv2 The scripts to and view compressed files have been adapted from gzip These scripts and their documentation are under GNU GPLv2 All the documentation in the doc directory and most of the XZ Utils specific documentation files in other directories are in the public domain Translated messages are in the public domain The build system contains public domain files
Definition: COPYING.txt:3
MYTHREAD * m_thread
Definition: lhaztabcontent_db.h:70
TYPE
Definition: lhaztabcontent.h:34
Definition: lhaztabcontent_db.h:61
Definition: lhaztabcontent_db.h:23
gcroot< ICloudDirectoryEntry^ > m_dir
Definition: lhaztabcontent_db.h:63
then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file
Definition: LICENSE.txt:110
WSTR m_name
Definition: lhaztabcontent_db.h:62
CRITICAL_SECTION m_crisec
Definition: lhaztabcontent_db.h:68
deque< UPLOADFILES > m_uploadfiles
Definition: lhaztabcontent_db.h:71
Tab Content.
Definition: lhaztabcontent.h:32
Definition: lhazfile_db.h:18
MYDROPBOX * m_dropbox
Definition: lhaztabcontent_db.h:69
Definition: lhazsts.h:12
リストビューで用いるカラム.
Definition: lhazcol.h:23