1 #pragma once
2 
3 #include "afxwin.h"
4 #include "afxcmn.h"
5 #include "resource.h"
6 
7 // xliff_export_dlg dialog
8 
9 class string_export_dlg : public express_dialog
10 {
11 public:
12     string_export_dlg(CWnd* pParent = NULL);   // standard constructor
13     virtual ~string_export_dlg();
14 
15     int GetSrcLanguage();
16     int GetTargetLanguage();
17     int GetXliffVersion();
18     CString GetPathname();
19 
20     static int GetStringExportType(CString type_name);
21     static CString GetStringExportTypeName(int type);
22 
23     enum { IDD = IDD_STRING_EXPORT };
24 
25 protected:
26     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
27 
28     DECLARE_MESSAGE_MAP()
29     afx_msg void OnBnClickedBrowse();
30     afx_msg void OnBnClickedOk();
31     virtual BOOL OnInitDialog();
32     afx_msg void OnSelectXLIFF();
33     afx_msg void OnSelectCSV();
34     afx_msg LRESULT OnTestMessage(WPARAM wParam, LPARAM lParam);
35 
36 private:
37     void ShowHideXliffVersion();
38 
39 private:
40     express_combobox mSrcLanguageCombo;
41     express_combobox mTargetLanguageCombo;
42     express_combobox xliff_version_combo;
43 };
44