update dev300-m58
[ooovba.git] / xmerge / source / activesync / XMergeFilter.h
blob4830c577a205905a41e61814b95a23ef70acf88f
1 // XMergeFilter.h: interface for the CXMergeFilter class.
2 //
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_XMERGEFILTER_H__25C39F6B_A1D7_408E_8F58_9CBEE9A666CC__INCLUDED_)
6 #define AFX_XMERGEFILTER_H__25C39F6B_A1D7_408E_8F58_9CBEE9A666CC__INCLUDED_
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
16 class CXMergeFilter : public ICeFileFilter
18 protected:
19 long m_cRef;
21 private:
22 TCHAR* GetXMergeClassPath();
23 TCHAR* GetJavaBaseDir();
25 TCHAR* m_szJavaBaseDir;
26 TCHAR* m_szClasspath;
28 BOOL m_bHaveExcel;
29 BOOL m_bHaveWord;
32 public:
33 static const LPTSTR m_pszPSWExportCLSID;
34 static const LPTSTR m_pszPSWExportExt;
35 static const LPTSTR m_pszPSWExportDesc;
36 static const LPTSTR m_pszPSWExportShortDesc;
38 static const LPTSTR m_pszPSWImportCLSID;
39 static const LPTSTR m_pszPSWImportExt;
40 static const LPTSTR m_pszPSWImportDesc;
41 static const LPTSTR m_pszPSWImportShortDesc;
43 static const LPTSTR m_pszPXLExportCLSID;
44 static const LPTSTR m_pszPXLExportExt;
45 static const LPTSTR m_pszPXLExportDesc;
46 static const LPTSTR m_pszPXLExportShortDesc;
48 static const LPTSTR m_pszPXLImportCLSID;
49 static const LPTSTR m_pszPXLImportExt;
50 static const LPTSTR m_pszPXLImportDesc;
51 static const LPTSTR m_pszPXLImportShortDesc;
53 public:
54 CXMergeFilter();
55 virtual ~CXMergeFilter();
58 /********** IUnknown methods **********/
59 STDMETHODIMP QueryInterface(REFIID iid, void **ppvObject);
60 STDMETHODIMP_(ULONG) AddRef();
61 STDMETHODIMP_(ULONG) Release();
63 /********** ICeFileFilter methods *********/
64 STDMETHODIMP FilterOptions(HWND hwndParent);
65 STDMETHODIMP FormatMessage(DWORD dwFlags, DWORD dwMessageId, DWORD dwLanguageId,
66 LPTSTR lpBuffer, DWORD nSize, va_list *Arguments, DWORD *pcb);
67 STDMETHODIMP NextConvertFile(int nConversion, CFF_CONVERTINFO *pci,
68 CFF_SOURCEFILE *psf, CFF_DESTINATIONFILE *pdf,
69 volatile BOOL *pbCancel, CF_ERROR *perr);
73 #endif // !defined(AFX_XMERGEFILTER_H__25C39F6B_A1D7_408E_8F58_9CBEE9A666CC__INCLUDED_)