00001
00002
00003
00004
00005
00006 #ifndef __FDMFORFIREFOX_H_
00007 #define __FDMFORFIREFOX_H_
00008
00009 #include "fsLangMgr.h"
00010 #include "ivmsfdmff.h"
00011 #include <atlbase.h>
00012
00013 #define FDMFORFIREFOX_CONTRACTID "@opendownloadmanager.org/ODMForFirefox;1"
00014 #define FDMFORFIREFOX_CLASSNAME "Open Download Manager component for Firefox"
00015
00016 #define FDMFORFIREFOX_CID { 0x2b141cfe, 0xd16c, 0x499a, { 0x91, 0x5, 0x6, 0xab, 0xdc, 0xe9, 0x85, 0x66 } }
00017
00018 class CFDMForFirefox : public IFDMForFirefox
00019 {
00020 public:
00021 NS_DECL_ISUPPORTS
00022 NS_DECL_IFDMFORFIREFOX
00023
00024 static bool is_FlashGotInstalled();
00025
00026 CFDMForFirefox();
00027
00028 private:
00029 ~CFDMForFirefox();
00030
00031 protected:
00032 PRBool TransferUrlToFDM (IFDMUrl* url);
00033 bool IsUrlShouldBeSkipped (IFDMUrl *url, const wchar_t* pwszSuggFileName);
00034 bool IsServerToSkip (IFDMUrl *url);
00035 CRegKey m_keyFDM, m_keyFDMMonitor, m_keyFDMFfStgs;
00036 fsLangMgr m_lm;
00037 };
00038
00039 #endif