~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/modules/plugin/tools/XPIPackager/XPIPackagerDlg.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// XPIPackagerDlg.h : header file
 
2
//
 
3
 
 
4
#if !defined(AFX_XPIPACKAGERDLG_H__E235AD70_02F3_47CB_85DD_2F9F9E023FCE__INCLUDED_)
 
5
#define AFX_XPIPACKAGERDLG_H__E235AD70_02F3_47CB_85DD_2F9F9E023FCE__INCLUDED_
 
6
 
 
7
#if _MSC_VER > 1000
 
8
#pragma once
 
9
#endif // _MSC_VER > 1000
 
10
 
 
11
/////////////////////////////////////////////////////////////////////////////
 
12
// CXPIPackagerDlg dialog
 
13
 
 
14
class CXPIPackagerDlg : public CDialog
 
15
{
 
16
// Construction
 
17
public:
 
18
        CXPIPackagerDlg(CWnd* pParent = NULL);  // standard constructor
 
19
 
 
20
// Dialog Data
 
21
        //{{AFX_DATA(CXPIPackagerDlg)
 
22
        enum { IDD = IDD_XPIPACKAGER_DIALOG };
 
23
        CListCtrl       m_MIME_List_Control;
 
24
        CListCtrl       m_Component_List_Control;
 
25
        CListCtrl       m_Plugin_List_Control;
 
26
        CString m_Domain_Name_Value;
 
27
        CString m_PLID_Value;
 
28
        CString m_Plugin_Version_Value;
 
29
        CString m_Product_Name_Value;
 
30
        CString m_Archive_Name_Value;
 
31
        long    m_Component_Size_Value;
 
32
        CString m_Company_Name_Value;
 
33
        long    m_Plugin_Size_Value;
 
34
        CString m_Plugin_Description_Value;
 
35
        //}}AFX_DATA
 
36
 
 
37
        // ClassWizard generated virtual function overrides
 
38
        //{{AFX_VIRTUAL(CXPIPackagerDlg)
 
39
        protected:
 
40
        virtual void DoDataExchange(CDataExchange* pDX);        // DDX/DDV support
 
41
        //}}AFX_VIRTUAL
 
42
 
 
43
// Implementation
 
44
protected:
 
45
        HICON m_hIcon;
 
46
 
 
47
        // Generated message map functions
 
48
        //{{AFX_MSG(CXPIPackagerDlg)
 
49
        virtual BOOL OnInitDialog();
 
50
        afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
 
51
        afx_msg void OnPaint();
 
52
        afx_msg HCURSOR OnQueryDragIcon();
 
53
        afx_msg void OnCreate();
 
54
        afx_msg void OnAutoPLID();
 
55
        afx_msg void OnBigHelp();
 
56
        afx_msg void OnPLIDHelp();
 
57
        afx_msg void OnComponentBrowse();
 
58
        afx_msg void OnComponentRemove();
 
59
        afx_msg void OnPluginBrowse();
 
60
        afx_msg void OnPluginRemove();
 
61
        afx_msg void OnMIMETypeAdd();
 
62
        afx_msg void OnMIMETypeRemove();
 
63
        afx_msg void OnDblclkPluginList(NMHDR* pNMHDR, LRESULT* pResult);
 
64
        afx_msg void OnDblclkComponentList(NMHDR* pNMHDR, LRESULT* pResult);
 
65
        afx_msg void OnDblclkMimeList(NMHDR* pNMHDR, LRESULT* pResult);
 
66
        //}}AFX_MSG
 
67
        DECLARE_MESSAGE_MAP()
 
68
 
 
69
private:
 
70
  void GetGuts(const CString &header, const CString &body, CString &result);
 
71
  long CalculateTotalFileSize(const CStringArray* t_Array);
 
72
 
 
73
  CStringArray m_PluginList;
 
74
  CStringArray m_PluginFileList;
 
75
  CStringArray m_PluginPLIDList;
 
76
 
 
77
  CStringArray m_ComponentList;
 
78
  CStringArray m_ComponentFileList;
 
79
  CStringArray m_ComponentPLIDList;
 
80
 
 
81
  CStringArray m_MIMETypeList;
 
82
  CStringArray m_SuffixList;
 
83
  CStringArray m_SuffixDescriptionList;
 
84
  CStringArray m_MIMEPluginList;
 
85
 
 
86
  long m_PluginTotalSize;
 
87
  long m_ComponentTotalSize;
 
88
 
 
89
  CString m_Archive_Name;
 
90
};
 
91
 
 
92
//{{AFX_INSERT_LOCATION}}
 
93
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
 
94
 
 
95
#endif // !defined(AFX_XPIPACKAGERDLG_H__E235AD70_02F3_47CB_85DD_2F9F9E023FCE__INCLUDED_)