00001 /* 00002 Free Download Manager Copyright (c) 2003-2007 FreeDownloadManager.ORG 00003 Open Download Manager Copyright (c) 2008-2010 OpenDownloadManager.ORG 00004 */ 00005 00006 #if !defined(AFX_VMSFILEEXTENSIONINOS_H__C040E944_2841_4F64_AEA3_6E2766A7D277__INCLUDED_) 00007 #define AFX_VMSFILEEXTENSIONINOS_H__C040E944_2841_4F64_AEA3_6E2766A7D277__INCLUDED_ 00008 00009 #if _MSC_VER > 1000 00010 #pragma once 00011 #endif 00012 00013 class vmsFileExtensionInOs 00014 { 00015 public: 00016 00017 static BOOL CreateAssociation (LPCSTR pszExt, LPCSTR pszProgId); 00018 00019 static BOOL SetAssociation(LPCSTR pszExt, LPCSTR pszVerb, LPCSTR pszValue); 00020 static fsString GetAssociation (LPCSTR pszExt, LPCSTR pszVerb); 00021 00022 vmsFileExtensionInOs(); 00023 virtual ~vmsFileExtensionInOs(); 00024 00025 protected: 00026 static BOOL SetAssociation_2(LPCSTR pszProgId, LPCSTR pszVerb, LPCSTR pszValue); 00027 static fsString GetAssociation_2 (LPCSTR pszProgId, LPCSTR pszVerb); 00028 }; 00029 00030 #endif
1.5.6