diff options
author | George Hazan <ghazan@miranda.im> | 2019-05-10 19:45:22 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-05-10 19:45:30 +0300 |
commit | 289f73c0c5d58c083c02c7c5b12427ebb8147625 (patch) | |
tree | 3d76f83202a715bc575cbf4cc6dbecb4f3b625bc /plugins/Import/src/stdafx.h | |
parent | 15750b3ac9d8c76631cc43560b1cfa34460156c1 (diff) |
Import: first version of pattern batch import that works
Diffstat (limited to 'plugins/Import/src/stdafx.h')
-rw-r--r-- | plugins/Import/src/stdafx.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/Import/src/stdafx.h b/plugins/Import/src/stdafx.h index 70c795a33d..f6a116503d 100644 --- a/plugins/Import/src/stdafx.h +++ b/plugins/Import/src/stdafx.h @@ -26,6 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <windows.h>
#include <commctrl.h> // datetimepicker
+#include <ShlObj.h>
#include <malloc.h>
#include <time.h>
@@ -88,6 +89,7 @@ struct CImportPattern : public MZeroedObject struct CMPlugin : public PLUGIN<CMPlugin>
{
private:
+ friend class CMirandaPageDlg;
friend class CContactImportDlg;
void LoadPattern(const wchar_t *pwszFileName);
@@ -160,10 +162,9 @@ public: class CMirandaPageDlg : public CWizardPageDlg
{
- void SearchForLists(const wchar_t *mirandaPath, const wchar_t *mirandaProf);
-
- CCtrlButton btnBack, btnOther;
+ CCtrlButton btnBack, btnOther, btnPath;
CCtrlListBox m_list;
+ CCtrlCombo m_cmbFileType;
public:
CMirandaPageDlg();
@@ -174,9 +175,10 @@ public: void OnNext() override;
void onClick_Back(CCtrlButton*);
+ void onClick_Path(CCtrlButton*);
void onClick_Other(CCtrlButton*);
- void onSelChanged_list(CCtrlListBox*);
+ void onChange_Pattern(CCtrlCombo*);
};
class CMirandaOptionsPageDlg : public CWizardPageDlg
|