00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #include "FDMFirefoxExtension.h" 00007 00008 NS_IMPL_ISUPPORTS1(CFDMFirefoxExtension, IFDMFirefoxExtension) 00009 00010 nsISupports* CFDMFirefoxExtension::_pLastPost = NULL; 00011 00012 CFDMFirefoxExtension::CFDMFirefoxExtension() 00013 { 00014 } 00015 00016 CFDMFirefoxExtension::~CFDMFirefoxExtension() 00017 { 00018 } 00019 00020 NS_IMETHODIMP CFDMFirefoxExtension::GetLastPost(nsISupports * *aLastPost) 00021 { 00022 if (_pLastPost) 00023 _pLastPost->AddRef (); 00024 *aLastPost = _pLastPost; 00025 return NS_OK; 00026 } 00027 NS_IMETHODIMP CFDMFirefoxExtension::SetLastPost(nsISupports * aLastPost) 00028 { 00029 _pLastPost = aLastPost; 00030 return NS_OK; 00031 }
1.5.6