Changeset 51 for trunk/Utilities/MaxMindGeoLite
- Timestamp:
- Feb 12, 2012, 2:42:12 AM (12 years ago)
- Location:
- trunk/Utilities/MaxMindGeoLite
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/MaxMindGeoLite/Location.h
r49 r51 102 102 } 103 103 } 104 SIZE_T GetCount() const throw() 105 { 106 return __super::GetCount(); 107 } 104 108 BOOL Lookup(INT nIdentifier, const CLocation** ppLocation = NULL) const throw() 105 109 { … … 194 198 pszDataPointer = pszSeparator + 1; 195 199 } 200 } 201 SIZE_T GetCount() const throw() 202 { 203 return __super::GetCount(); 196 204 } 197 205 BOOL Lookup(ULONG nAddress, const CBlock** ppBlock = NULL) const throw() … … 497 505 DECLARE_PROTECT_FINAL_CONSTRUCT() 498 506 507 DECLARE_QI_TRACE(CLocations) 508 499 509 BEGIN_COM_MAP(CLocations) 500 510 COM_INTERFACE_ENTRY(ILocations) … … 519 529 //DECLARE_PROTECT_FINAL_CONSTRUCT() 520 530 531 DECLARE_QI_TRACE(CLocation) 532 521 533 BEGIN_COM_MAP(CLocation) 522 534 COM_INTERFACE_ENTRY(ILocation) … … 540 552 { 541 553 m_Location = Location; 554 _Z2(atlTraceGeneral, 2, _T("Initialized, Location.m_sCountryCode %hs, .m_sRegion %hs, .m_sCity %hs\n"), Location.m_sCountryCode, Location.m_sRegion, Location.m_sCity); 542 555 } 543 556 … … 728 741 m_LocationArray.Initialize(sLocationPath); 729 742 m_BlockArray.Initialize(sBlockPath); 743 _Z2(atlTraceGeneral, 2, _T("Initialized, m_LocationArray.GetCount() %d, m_BlockArray.GetCount() %d\n"), m_LocationArray.GetCount(), m_BlockArray.GetCount()); 730 744 } 731 745 … … 791 805 DECLARE_PROTECT_FINAL_CONSTRUCT() 792 806 807 DECLARE_QI_TRACE(CLazyLocations) 808 793 809 BEGIN_COM_MAP(CLazyLocations) 794 810 COM_INTERFACE_ENTRY(ILazyLocations) … … 880 896 { 881 897 CRoCriticalSectionLock DataLock(m_DataCriticalSection); 898 _Z2(atlTraceGeneral, 2, _T("Query for Locations, m_pLocations 0x%p\n"), m_pLocations); 882 899 return m_pLocations; 883 900 } -
trunk/Utilities/MaxMindGeoLite/MaxMindGeoLite_i.c
r49 r51 7 7 8 8 /* File created by MIDL compiler version 7.00.0555 */ 9 /* at Sun Feb 12 00:46:1520129 /* at Sun Feb 12 12:28:00 2012 10 10 */ 11 11 /* Compiler settings for MaxMindGeoLite.idl: -
trunk/Utilities/MaxMindGeoLite/MaxMindGeoLite_i.h
r49 r51 5 5 6 6 /* File created by MIDL compiler version 7.00.0555 */ 7 /* at Sun Feb 12 00:46:1520127 /* at Sun Feb 12 12:28:00 2012 8 8 */ 9 9 /* Compiler settings for MaxMindGeoLite.idl: -
trunk/Utilities/MaxMindGeoLite/MaxMindGeoLite_p.c
r49 r51 5 5 6 6 /* File created by MIDL compiler version 7.00.0555 */ 7 /* at Sun Feb 12 00:46:1520127 /* at Sun Feb 12 12:28:00 2012 8 8 */ 9 9 /* Compiler settings for MaxMindGeoLite.idl:
Note: See TracChangeset
for help on using the changeset viewer.