Ignore:
Timestamp:
Sep 7, 2008, 12:05:40 AM (16 years ago)
Author:
dai
Message:

デバッグセクション情報周りをリファクタリング

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/DebugSection.h

    r740 r741  
    11#pragma once
    22
    3 class CDebugSection{
     3class DebugSection{
    44public:
    55    char szNowFilePath[MAX_PATH];
     
    4949
    5050
    51     CDebugSection()
     51    DebugSection()
    5252        : buffer( NULL )
    5353        , length( 0 )
     
    6464        szNowFilePath[0]=0;
    6565    }
    66     ~CDebugSection();
     66    ~DebugSection();
    6767
    6868    void make(void);
     
    7979};
    8080
    81 class CDBDebugSection{
     81class DebugSectionCollection{
     82    DebugSection *pCurrent;
    8283public:
    83     std::vector<CDebugSection *> debugSections;
     84    std::vector<DebugSection *> debugSections;
    8485
    85     CDebugSection *pobj_now;
    86 
    87     CDBDebugSection();
    88     ~CDBDebugSection();
     86    DebugSectionCollection();
     87    ~DebugSectionCollection();
    8988
    9089    BOOL add(HMODULE hModule);
     
    9392    void choice(int index);
    9493
     94    DebugSection &GetCurrent()
     95    {
     96        MyAssert( pCurrent != NULL );
     97        return *pCurrent;
     98    }
    9599};
    96 
    97 extern CDBDebugSection *pobj_DBDebugSection;
Note: See TracChangeset for help on using the changeset viewer.