Ignore:
Timestamp:
Feb 12, 2012, 2:42:12 AM (12 years ago)
Author:
roman
Message:
 
Location:
trunk/Utilities/MaxMindGeoLite
Files:
2 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/MaxMindGeoLite/Location.h

    r49 r51  
    102102                        }
    103103                }
     104                SIZE_T GetCount() const throw()
     105                {
     106                        return __super::GetCount();
     107                }
    104108                BOOL Lookup(INT nIdentifier, const CLocation** ppLocation = NULL) const throw()
    105109                {
     
    194198                                pszDataPointer = pszSeparator + 1;
    195199                        }
     200                }
     201                SIZE_T GetCount() const throw()
     202                {
     203                        return __super::GetCount();
    196204                }
    197205                BOOL Lookup(ULONG nAddress, const CBlock** ppBlock = NULL) const throw()
     
    497505DECLARE_PROTECT_FINAL_CONSTRUCT()
    498506
     507DECLARE_QI_TRACE(CLocations)
     508
    499509BEGIN_COM_MAP(CLocations)
    500510        COM_INTERFACE_ENTRY(ILocations)
     
    519529        //DECLARE_PROTECT_FINAL_CONSTRUCT()
    520530
     531        DECLARE_QI_TRACE(CLocation)
     532
    521533        BEGIN_COM_MAP(CLocation)
    522534                COM_INTERFACE_ENTRY(ILocation)
     
    540552                {
    541553                        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);
    542555                }
    543556
     
    728741                m_LocationArray.Initialize(sLocationPath);
    729742                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());
    730744        }
    731745
     
    791805DECLARE_PROTECT_FINAL_CONSTRUCT()
    792806
     807DECLARE_QI_TRACE(CLazyLocations)
     808
    793809BEGIN_COM_MAP(CLazyLocations)
    794810        COM_INTERFACE_ENTRY(ILazyLocations)
     
    880896        {
    881897                CRoCriticalSectionLock DataLock(m_DataCriticalSection);
     898                _Z2(atlTraceGeneral, 2, _T("Query for Locations, m_pLocations 0x%p\n"), m_pLocations);
    882899                return m_pLocations;
    883900        }
  • trunk/Utilities/MaxMindGeoLite/MaxMindGeoLite_i.c

    r49 r51  
    77
    88 /* File created by MIDL compiler version 7.00.0555 */
    9 /* at Sun Feb 12 00:46:15 2012
     9/* at Sun Feb 12 12:28:00 2012
    1010 */
    1111/* Compiler settings for MaxMindGeoLite.idl:
  • trunk/Utilities/MaxMindGeoLite/MaxMindGeoLite_i.h

    r49 r51  
    55
    66 /* File created by MIDL compiler version 7.00.0555 */
    7 /* at Sun Feb 12 00:46:15 2012
     7/* at Sun Feb 12 12:28:00 2012
    88 */
    99/* Compiler settings for MaxMindGeoLite.idl:
  • trunk/Utilities/MaxMindGeoLite/MaxMindGeoLite_p.c

    r49 r51  
    55
    66 /* File created by MIDL compiler version 7.00.0555 */
    7 /* at Sun Feb 12 00:46:15 2012
     7/* at Sun Feb 12 12:28:00 2012
    88 */
    99/* Compiler settings for MaxMindGeoLite.idl:
Note: See TracChangeset for help on using the changeset viewer.