Changeset 613 in dev for trunk/ab5.0/abdev


Ignore:
Timestamp:
May 19, 2008, 2:38:58 AM (17 years ago)
Author:
dai_9181
Message:

"extern PROJECTINFO ProjectInfo;" をすべて除去した。
PROJECTINFO構造体の定義位置を移動した。

Location:
trunk/ab5.0/abdev/abdev
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/abdev/ClassTree.cpp

    r475 r613  
    198198
    199199void CClassTreeView::InsertRootFolder(void){
    200     extern PROJECTINFO ProjectInfo;
    201200    char temporary[VN_SIZE];
    202201    sprintf(temporary,"%s クラス",ProjectInfo.name);
     
    550549    LockWindowUpdate(hProcedureTreeView);
    551550
    552     extern PROJECTINFO ProjectInfo;
    553551    if(ProjectInfo.name[0]){
    554552        // プロジェクトが開かれているとき
  • trunk/ab5.0/abdev/abdev/Common.h

    r612 r613  
    577577#define PJ_OP_RC_MANIFEST   0x00020000
    578578#define PJ_OP_UNICODE       0x00040000
    579 struct PROJECTINFO{
    580     DWORD dwModuleType;
    581 
    582     char name[MAX_PATH];
    583     char dir[MAX_PATH];
    584 
    585     DWORD dwVersion;
    586 
    587     CDBFileInfo *pobj_DBFileInfo;
    588 
    589     char ResourceFileName[MAX_PATH];
    590 
    591     int NumberOfMenu;
    592     MENU_INFO *pMenuInfo;
    593     HTREEITEM hMenuTreeItem;
    594 
    595     std::vector<WINDOW_INFO> windowInfos;
    596     HTREEITEM hWindowTreeItem;
    597 
    598     RESOURCEINFO res;
    599 
    600     DWORD dwOption;
    601     char lpszOutput_Release[MAX_PATH];
    602     char lpszOutput_Debug[MAX_PATH];
    603 
    604     //マニフェスト
    605     char szManifestPath[MAX_PATH];
    606 
    607     //デバッグ情報
    608     char szCmdLine[8192];
    609     char szExePath[MAX_PATH];
    610 
    611     //ブレークポイント情報
    612     CDBBreakPoint *pobj_DBBreakPoint;
    613 
    614     _int8 ModifyOfMaterial;
    615     _int8 ModifuOfResource;
    616     _int8 modify;
    617 };
    618 extern PROJECTINFO ProjectInfo;
    619 
    620 extern ActiveBasic::IDE::ProjectManager projectManager;
     579
    621580
    622581
  • trunk/ab5.0/abdev/abdev/DialogBoxes.cpp

    r608 r613  
    585585#ifndef THETEXT
    586586BOOL CALLBACK DlgNewFile(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    587     extern PROJECTINFO ProjectInfo;
    588587    extern char NewFileName[MAX_PATH];
    589588
     
    801800}
    802801BOOL CALLBACK DlgProjectOption_Whole(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    803     extern PROJECTINFO ProjectInfo;
    804802    NMHDR *nmhdr;
    805803
     
    837835}
    838836BOOL CALLBACK DlgProjectOption_Win32API(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    839     extern PROJECTINFO ProjectInfo;
    840837    NMHDR *nmhdr;
    841838
     
    924921}
    925922BOOL CALLBACK DlgProjectOption_Debug(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    926     extern PROJECTINFO ProjectInfo;
    927923    NMHDR *nmhdr;
    928924    char temporary[MAX_PATH];
     
    1000996    hpsp[i]=CreatePropertySheetPage(&psp[i]);
    1001997
    1002     extern PROJECTINFO ProjectInfo;
    1003998    temp_dwPjOption=ProjectInfo.dwOption;
    1004999
  • trunk/ab5.0/abdev/abdev/DocumentAdvice.cpp

    r523 r613  
    256256    //参照ディレクトリ
    257257    char *pDefaultDir;
    258     extern PROJECTINFO ProjectInfo;
    259258    if(ProjectInfo.name[0])
    260259        pDefaultDir=ProjectInfo.dir;
  • trunk/ab5.0/abdev/abdev/DrawWindow.cpp

    r612 r613  
    172172}
    173173void DrawScrollBar(int WndNum,DWORD style,BOOL bSwitch,POINT *pPos,SIZE *pSize){
    174     extern PROJECTINFO ProjectInfo;
    175174    extern MDIINFO MdiInfo[MAX_WNDNUM];
    176175    int i,i2;
     
    488487}
    489488void DrawUpDownControl(int WndNum,DWORD style,BOOL bSwitch,POINT *pPos,SIZE *pSize){
    490     extern PROJECTINFO ProjectInfo;
    491489    extern MDIINFO MdiInfo[MAX_WNDNUM];
    492490    int i,i2;
     
    691689void DesigningWindow(int WndNum,HDC hdc,POINT *pBasePos,const WINDOW_INFO *pWindowInfo){
    692690    extern MDIINFO MdiInfo[MAX_WNDNUM];
    693     extern PROJECTINFO ProjectInfo;
    694691    int i,i2,i3,i4;
    695692    double red,green,blue,d_red,d_green,d_blue;
  • trunk/ab5.0/abdev/abdev/FileOperation.cpp

    r609 r613  
    347347        ////////////////////////////////////
    348348
    349         extern PROJECTINFO ProjectInfo;
    350349        if(ProjectInfo.ModifyOfMaterial){
    351350            sprintf(temporary,"%s%s.wnd",ProjectInfo.dir,ProjectInfo.name);
  • trunk/ab5.0/abdev/abdev/FileTree.cpp

    r475 r613  
    88
    99BOOL CALLBACK DlgProject_FileProperty(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    10     extern PROJECTINFO ProjectInfo;
    1110    HTREEITEM hTreeItem;
    1211    int i;
  • trunk/ab5.0/abdev/abdev/IconEditor.cpp

    r475 r613  
    535535    extern HWND hDocCombo;
    536536    extern MDIINFO MdiInfo[MAX_WNDNUM];
    537     extern PROJECTINFO ProjectInfo;
    538537    int i,WndNum;
    539538
  • trunk/ab5.0/abdev/abdev/IconEditor_Tool.cpp

    r475 r613  
    3333BOOL CALLBACK DlgIconButtons(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    3434    extern MDIINFO MdiInfo[MAX_WNDNUM];
    35     extern PROJECTINFO ProjectInfo;
    3635    int WndNum;
    3736    RECT rect;
  • trunk/ab5.0/abdev/abdev/MenuProc.cpp

    r475 r613  
    1212
    1313int GetMenuInfoNum(char *name){
    14     extern PROJECTINFO ProjectInfo;
    1514    int i;
    1615    for(i=0;i<ProjectInfo.NumberOfMenu;i++){
     
    6968void Project_Menu_Insert(void){
    7069    extern HANDLE hHeap;
    71     extern PROJECTINFO ProjectInfo;
    7270    extern MDIINFO MdiInfo[MAX_WNDNUM];
    7371    extern char NewIdName[MAX_PATH];
     
    135133    extern HANDLE hHeap;
    136134    extern MDIINFO MdiInfo[MAX_WNDNUM];
    137     extern PROJECTINFO ProjectInfo;
    138135    int i;
    139136
     
    396393BOOL CALLBACK MenuEditDlg(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    397394    extern HANDLE hHeap;
    398     extern PROJECTINFO ProjectInfo;
    399395    int i,i2,i3,i4,WndNum,MenuInfoNum;
    400396    char temporary[MAX_PATH];
     
    749745    extern HINSTANCE hInst;
    750746    extern MDIINFO MdiInfo[MAX_WNDNUM];
    751     extern PROJECTINFO ProjectInfo;
    752747    int i;
    753748    RECT rect;
     
    803798    extern HWND hDocCombo;
    804799    extern MDIINFO MdiInfo[MAX_WNDNUM];
    805     extern PROJECTINFO ProjectInfo;
    806800    int i,i2,i3,WndNum,MenuInfoNum;
    807801    MENU_INFO *pMenuInfo;
  • trunk/ab5.0/abdev/abdev/MessageCallOperation.cpp

    r609 r613  
    1010
    1111int GetItemMessageInfo(int WndInfoNum,char *buffer,char *EventName){
    12     extern PROJECTINFO ProjectInfo;
    1312    int i;
    1413
     
    3130char **GetProcedureNamesOfMessageCall(int WndInfoNum,ITEMEVENTINFO **ppItemEventInfo,int *num,BOOL *pbAlways){
    3231    extern HANDLE hHeap;
    33     extern PROJECTINFO ProjectInfo;
    3432    int i,i2,i3,i4,i5,i6,NameLen,CallBackNameLen;
    3533    char *buffer,**ppNames,temporary[MAX_PATH],temp2[MAX_PATH];
     
    130128void SelectProcedureOfMessageCall(int WndInfoNum,char *ProcedureName,char *Parameter){
    131129    extern MDIINFO MdiInfo[MAX_WNDNUM];
    132     extern PROJECTINFO ProjectInfo;
    133130    int i,i2,i3,WndNum;
    134131    char temporary[MAX_PATH],*pBuf;
     
    218215}
    219216BOOL GetEventProcedureNameFromListView(HWND hList,int WndNum,int WndInfoNum,char *EventName,char *Parameter,DWORD dwEventType){
    220     extern PROJECTINFO ProjectInfo;
    221217    extern MDIINFO MdiInfo[MAX_WNDNUM];
    222218    int i,MaxCount;
     
    398394void SetEventToList(HWND hDlg,DWORD dwEventType){
    399395    extern MDIINFO MdiInfo[MAX_WNDNUM];
    400     extern PROJECTINFO ProjectInfo;
    401396    int i,i2,WndNum;
    402397    HWND hList;
     
    549544}
    550545void Popup_SelectMenu(HWND hDlg){
    551     extern PROJECTINFO ProjectInfo;
    552546    int i;
    553547    POINT pos;
     
    591585BOOL CALLBACK DlgEventCode(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    592586    extern MDIINFO MdiInfo[MAX_WNDNUM];
    593     extern PROJECTINFO ProjectInfo;
    594587    int WndNum,WndInfoNum,i,i2;
    595588    char temporary[MAX_PATH],temp2[MAX_PATH];
  • trunk/ab5.0/abdev/abdev/ParameterHint.cpp

    r475 r613  
    3030    //単体ファイルのときはそのファイルを、プロジェクトのときはpjname.abの内容を取得
    3131    extern HANDLE hHeap;
    32     extern PROJECTINFO ProjectInfo;
    3332    int i;
    3433    char temporary[MAX_PATH],*pBuf;
  • trunk/ab5.0/abdev/abdev/ProjectControl.cpp

    r612 r613  
    4444    extern MDIINFO MdiInfo[MAX_WNDNUM];
    4545    extern LPSTR DefFileFilter;
    46     extern PROJECTINFO ProjectInfo;
    4746    int i,i2,WndNum;
    4847    char str[MAX_PATH],temporary[MAX_PATH];
     
    422421LRESULT CALLBACK ProjectViewProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    423422    extern HINSTANCE hInst,hResInst;
    424     extern PROJECTINFO ProjectInfo;
    425423    extern HWND hTabOfProjectView;
    426424    extern HFONT hStatusFont;
     
    649647void Project_File_Insert(char *path){
    650648    extern HANDLE hHeap;
    651     extern PROJECTINFO ProjectInfo;
    652649    char temporary[MAX_PATH],temp2[MAX_PATH];
    653650
     
    682679void Project_File_Delete(HTREEITEM hTreeItem){
    683680    extern HANDLE hHeap;
    684     extern PROJECTINFO ProjectInfo;
    685681
    686682    if(ProjectInfo.pobj_DBFileInfo->IsMainFile(hTreeItem)){
     
    711707
    712708    //既にプロジェクトが開かれている場合は閉じる
    713     extern PROJECTINFO ProjectInfo;
    714709    if(ProjectInfo.name[0]){
    715710        if(!CloseProject()) return;
     
    11191114    extern HANDLE hHeap;
    11201115    extern HWND hProjectView;
    1121     extern PROJECTINFO ProjectInfo;
    11221116    int i;
    11231117    char temporary[MAX_PATH];
     
    12201214void OpenProject(char *path){
    12211215    extern HANDLE hHeap;
    1222     extern PROJECTINFO ProjectInfo;
    12231216    int i,i2,i3;
    12241217    char *buffer,temporary[MAX_PATH],temp2[MAX_PATH];
     
    18161809BOOL ProjectModifyCheck(BOOL bRun){
    18171810    extern MDIINFO MdiInfo[MAX_WNDNUM];
    1818     extern PROJECTINFO ProjectInfo;
    18191811    int i,WndNum,sw;
    18201812    HWND hChild;
     
    18731865    extern HANDLE hHeap;
    18741866    extern MDIINFO MdiInfo[MAX_WNDNUM];
    1875     extern PROJECTINFO ProjectInfo;
    18761867    int i,i2,WndNum;
    18771868    HWND hChild,hCloseChild;
     
    20071998void MakeWorkFile(void){
    20081999    extern MDIINFO MdiInfo[MAX_WNDNUM];
    2009     extern PROJECTINFO ProjectInfo;
    20102000    int i,i2,WndNum;
    20112001    char temporary[MAX_PATH],buffer[32767];
     
    21282118void SaveProject(void){
    21292119    extern MDIINFO MdiInfo[MAX_WNDNUM];
    2130     extern PROJECTINFO ProjectInfo;
    21312120    int i,i2,i3,WndNum;
    21322121    char temporary[MAX_PATH],buffer[32767];
     
    23932382
    23942383BOOL SetProjectToRun(void){
    2395     extern PROJECTINFO ProjectInfo;
    23962384    HANDLE hFind;
    23972385    WIN32_FIND_DATA wfd;
     
    24222410}
    24232411BOOL IsNeedCompileForProject(BOOL bDebug){
    2424     extern PROJECTINFO ProjectInfo;
    24252412    int i2;
    24262413    char temporary[MAX_PATH];
  • trunk/ab5.0/abdev/abdev/RadProc.cpp

    r612 r613  
    88    extern HINSTANCE hInst,hResInst;
    99    extern HWND hDocCombo;
    10     extern PROJECTINFO ProjectInfo;
    1110    extern MDIINFO MdiInfo[MAX_WNDNUM];
    1211    int i,i2;
     
    162161    extern HANDLE hHeap;
    163162    extern MDIINFO MdiInfo[MAX_WNDNUM];
    164     extern PROJECTINFO ProjectInfo;
    165163    int i,i2,NewItemNum;
    166164    char temporary[MAX_PATH];
     
    264262    extern HANDLE hHeap;
    265263    extern MDIINFO MdiInfo[MAX_WNDNUM];
    266     extern PROJECTINFO ProjectInfo;
    267264    int i;
    268265
     
    341338}
    342339void DrawFrame(HWND hwnd,int WndNum,int WndInfoNum,RECT *NewRect,RECT *OldRect,BOOL bLA){
    343     extern PROJECTINFO ProjectInfo;
    344340    extern MDIINFO MdiInfo[MAX_WNDNUM];
    345341    static int swLineStop;
     
    452448void GetSelectingRect(int WndNum,int WndInfoNum,int num,RECT *rect){
    453449    extern MDIINFO MdiInfo[MAX_WNDNUM];
    454     extern PROJECTINFO ProjectInfo;
    455450
    456451    WINDOW_INFO *pWindowInfo = &ProjectInfo.windowInfos[WndInfoNum];
     
    474469    extern MDIINFO MdiInfo[MAX_WNDNUM];
    475470    extern RADINFO RadInfo;
    476     extern PROJECTINFO ProjectInfo;
    477471    int i,i2,i3;
    478472    HDC hdc;
     
    549543void ChangePropertyWindow(int WndNum,int WndInfoNum){
    550544    extern MDIINFO MdiInfo[MAX_WNDNUM];
    551     extern PROJECTINFO ProjectInfo;
    552545    RECT rect;
    553546    SCROLLINFO ScrollInfo;
     
    612605int GetItemNumOnMouse(int WndNum,int WndInfoNum,int x,int y){
    613606    extern MDIINFO MdiInfo[MAX_WNDNUM];
    614     extern PROJECTINFO ProjectInfo;
    615607    int i;
    616608
     
    658650    //マウス座標をもとにコントロールアイテムを選択
    659651    extern MDIINFO MdiInfo[MAX_WNDNUM];
    660     extern PROJECTINFO ProjectInfo;
    661652    int i;
    662653
     
    681672}
    682673void SetItemNumOnFrame(int WndNum,int WndInfoNum,RECT *pRect){
    683     extern PROJECTINFO ProjectInfo;
    684674    extern MDIINFO MdiInfo[MAX_WNDNUM];
    685675    int i,i2,sw;
     
    707697}
    708698int GetStateOfDraggingFrame(int WndNum,int WndInfoNum,int x,int y){
    709     extern PROJECTINFO ProjectInfo;
    710699    extern MDIINFO MdiInfo[MAX_WNDNUM];
    711700    int i;
     
    769758}
    770759void ResetScrollbarOfRadEditor(int WndNum,int weight,int height){
    771     extern PROJECTINFO ProjectInfo;
    772760    extern MDIINFO MdiInfo[MAX_WNDNUM];
    773761    SCROLLINFO ScrollInfo;
     
    805793LRESULT CALLBACK RadWindow(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    806794    extern MDIINFO MdiInfo[MAX_WNDNUM];
    807     extern PROJECTINFO ProjectInfo;
    808795    extern RADINFO RadInfo;
    809796    int i,i2,i3,i4;
     
    17851772    extern HWND hDocCombo;
    17861773    extern MDIINFO MdiInfo[MAX_WNDNUM];
    1787     extern PROJECTINFO ProjectInfo;
    17881774    int i,WndNum;
    17891775
  • trunk/ab5.0/abdev/abdev/RadSupport.cpp

    r612 r613  
    3636    extern HINSTANCE hInst;
    3737    extern HANDLE hHeap;
    38     extern PROJECTINFO ProjectInfo;
    3938    static HWND hWnd;
    4039    HWND hChild;
     
    177176    // サポートダイアログの内容をセット
    178177    ////////////////////////////////////
    179     extern PROJECTINFO ProjectInfo;
    180178    extern MDIINFO MdiInfo[MAX_WNDNUM];
    181179    extern RADINFO RadInfo;
     
    257255
    258256BOOL CALLBACK DlgRadSupport(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    259     extern PROJECTINFO ProjectInfo;
    260257    extern MDIINFO MdiInfo[MAX_WNDNUM];
    261258    static BOOL bTimer;
  • trunk/ab5.0/abdev/abdev/RadToolsAndPropertyProc.cpp

    r609 r613  
    101101BOOL CALLBACK RadToolButtonsProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    102102    extern MDIINFO MdiInfo[MAX_WNDNUM];
    103     extern PROJECTINFO ProjectInfo;
    104103    int i,i2,WndNum;
    105104    HWND hParent;
     
    200199LRESULT CALLBACK RadToolsWindow(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    201200    extern MDIINFO MdiInfo[MAX_WNDNUM];
    202     extern PROJECTINFO ProjectInfo;
    203201    extern HFONT hStatusFont;
    204202    int i;
     
    355353    extern HWND hClient,hOwner;
    356354    extern MDIINFO MdiInfo[MAX_WNDNUM];
    357     extern PROJECTINFO ProjectInfo;
    358355    int i,i3;
    359356    char temporary[MAX_PATH],temp2[MAX_PATH];
     
    480477BOOL CALLBACK DlgRadProperty_Window_ExStyle(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    481478    extern MDIINFO MdiInfo[MAX_WNDNUM];
    482     extern PROJECTINFO ProjectInfo;
    483479    int i;
    484480
     
    552548    extern HANDLE hHeap;
    553549    extern MDIINFO MdiInfo[MAX_WNDNUM];
    554     extern PROJECTINFO ProjectInfo;
    555550    int i,i3,i4;
    556551    static BOOL bInitial;
     
    11181113    extern HANDLE hHeap;
    11191114    extern MDIINFO MdiInfo[MAX_WNDNUM];
    1120     extern PROJECTINFO ProjectInfo;
    11211115    int i,i3;
    11221116    char *temporary;
     
    12511245    extern HWND hClient,hOwner;
    12521246    extern MDIINFO MdiInfo[MAX_WNDNUM];
    1253     extern PROJECTINFO ProjectInfo;
    12541247    int i,i3;
    12551248    char *temporary;
     
    13081301    extern HANDLE hHeap;
    13091302    extern MDIINFO MdiInfo[MAX_WNDNUM];
    1310     extern PROJECTINFO ProjectInfo;
    13111303
    13121304    WINDOW_INFO *pWindowInfo = &ProjectInfo.windowInfos[WndInfoNum];
     
    13751367BOOL CALLBACK DlgRadProperty_Item_ExStyle(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    13761368    extern MDIINFO MdiInfo[MAX_WNDNUM];
    1377     extern PROJECTINFO ProjectInfo;
    13781369    int i;
    13791370
     
    14381429BOOL CALLBACK RadProperty_ButtonProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    14391430    extern MDIINFO MdiInfo[MAX_WNDNUM];
    1440     extern PROJECTINFO ProjectInfo;
    14411431    int i,i2,i3;
    14421432    static BOOL bInitial;
     
    16611651BOOL CALLBACK RadProperty_CheckBoxProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    16621652    extern MDIINFO MdiInfo[MAX_WNDNUM];
    1663     extern PROJECTINFO ProjectInfo;
    16641653    int i,i2,i3;
    16651654    static BOOL bInitial;
     
    19531942BOOL CALLBACK RadProperty_ComboBoxProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    19541943    extern MDIINFO MdiInfo[MAX_WNDNUM];
    1955     extern PROJECTINFO ProjectInfo;
    19561944    int i,i2,i3;
    19571945    static BOOL bInitial;
     
    22182206BOOL CALLBACK RadProperty_EditProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    22192207    extern MDIINFO MdiInfo[MAX_WNDNUM];
    2220     extern PROJECTINFO ProjectInfo;
    22212208    int i,i2,i3;
    22222209    static BOOL bInitial;
     
    25002487BOOL CALLBACK RadProperty_GroupBoxProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    25012488    extern MDIINFO MdiInfo[MAX_WNDNUM];
    2502     extern PROJECTINFO ProjectInfo;
    25032489    int i,i2,i3;
    25042490    static BOOL bInitial;
     
    26532639    extern HANDLE hHeap;
    26542640    extern MDIINFO MdiInfo[MAX_WNDNUM];
    2655     extern PROJECTINFO ProjectInfo;
    26562641    int i,i2,i3;
    26572642    char temporary[MAX_PATH];
     
    30363021BOOL CALLBACK RadProperty_ListViewProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    30373022    extern MDIINFO MdiInfo[MAX_WNDNUM];
    3038     extern PROJECTINFO ProjectInfo;
    30393023    int i,i2,i3;
    30403024    static BOOL bInitial;
     
    33293313BOOL CALLBACK RadProperty_ListBoxProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    33303314    extern MDIINFO MdiInfo[MAX_WNDNUM];
    3331     extern PROJECTINFO ProjectInfo;
    33323315    int i,i2,i3;
    33333316    static BOOL bInitial;
     
    35843567BOOL CALLBACK RadProperty_ProgressBarProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    35853568    extern MDIINFO MdiInfo[MAX_WNDNUM];
    3586     extern PROJECTINFO ProjectInfo;
    35873569    int i,i2;
    35883570    static BOOL bInitial;
     
    36703652BOOL CALLBACK RadProperty_RadioButtonProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    36713653    extern MDIINFO MdiInfo[MAX_WNDNUM];
    3672     extern PROJECTINFO ProjectInfo;
    36733654    int i,i2,i3;
    36743655    static BOOL bInitial;
     
    39053886BOOL CALLBACK RadProperty_ScrollBarProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    39063887    extern MDIINFO MdiInfo[MAX_WNDNUM];
    3907     extern PROJECTINFO ProjectInfo;
    39083888    int i,i2,i3;
    39093889    static BOOL bInitial;
     
    39913971BOOL CALLBACK RadProperty_StaticProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    39923972    extern MDIINFO MdiInfo[MAX_WNDNUM];
    3993     extern PROJECTINFO ProjectInfo;
    39943973    int i,i2,i3;
    39953974    static BOOL bInitial;
     
    41234102BOOL CALLBACK RadProperty_TrackBarProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    41244103    extern MDIINFO MdiInfo[MAX_WNDNUM];
    4125     extern PROJECTINFO ProjectInfo;
    41264104    int i,i2,i3;
    41274105    static BOOL bInitial;
     
    42774255BOOL CALLBACK RadProperty_TreeViewProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    42784256    extern MDIINFO MdiInfo[MAX_WNDNUM];
    4279     extern PROJECTINFO ProjectInfo;
    42804257    int i,i2;
    42814258    static BOOL bInitial;
     
    44904467BOOL CALLBACK RadProperty_UpDownProc(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    44914468    extern MDIINFO MdiInfo[MAX_WNDNUM];
    4492     extern PROJECTINFO ProjectInfo;
    44934469    int i,i2,i3;
    44944470    static BOOL bInitial;
     
    46644640LRESULT CALLBACK RadPropertyWindow(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    46654641    extern MDIINFO MdiInfo[MAX_WNDNUM];
    4666     extern PROJECTINFO ProjectInfo;
    46674642    int i;
    46684643    RECT rect;
  • trunk/ab5.0/abdev/abdev/Rad_UndoRedo.cpp

    r612 r613  
    66    extern HINSTANCE hInst;
    77    extern MDIINFO MdiInfo[MAX_WNDNUM];
    8     extern PROJECTINFO ProjectInfo;
    98    int i;
    109    DWORD dw;
     
    195194    extern HINSTANCE hInst;
    196195    extern MDIINFO MdiInfo[MAX_WNDNUM];
    197     extern PROJECTINFO ProjectInfo;
    198196    DWORD dw;
    199197    char *temporary;
     
    556554    }
    557555
    558     extern PROJECTINFO ProjectInfo;
    559556    ProjectInfo.ModifyOfMaterial=1;
    560557
  • trunk/ab5.0/abdev/abdev/Resource.cpp

    r475 r613  
    1313void GetResourceData(void){
    1414    extern HANDLE hHeap;
    15     extern PROJECTINFO ProjectInfo;
    1615    int i2,i3;
    1716    char *buffer,temporary[MAX_PATH],temp2[MAX_PATH],temp3[MAX_PATH];
     
    136135    extern HANDLE hHeap;
    137136    extern LPSTR CursorFileFilter;
    138     extern PROJECTINFO ProjectInfo;
    139137    int i2,i3;
    140138    char temporary[MAX_PATH];
     
    185183}
    186184void Project_Cursor_Delete(int CursorInfoNum){
    187     extern PROJECTINFO ProjectInfo;
    188185    int i;
    189186
     
    203200void Project_Cursor_RenameID(int CursorInfoNum){
    204201    extern HANDLE hHeap;
    205     extern PROJECTINFO ProjectInfo;
    206202    extern char NewIdName[MAX_PATH];
    207203    extern HWND hMaterialTreeView;
     
    243239    extern HANDLE hHeap;
    244240    extern LPSTR BitmapFileFilter;
    245     extern PROJECTINFO ProjectInfo;
    246241    int i2,i3;
    247242    char temporary[MAX_PATH];
     
    303298}
    304299void Project_Bitmap_Delete(int BitmapInfoNum){
    305     extern PROJECTINFO ProjectInfo;
    306300    int i;
    307301
     
    321315void Project_Bitmap_RenameID(int BitmapInfoNum){
    322316    extern HANDLE hHeap;
    323     extern PROJECTINFO ProjectInfo;
    324317    extern char NewIdName[MAX_PATH];
    325318    extern HWND hMaterialTreeView;
     
    360353    extern HANDLE hHeap;
    361354    extern LPSTR IconFileFilter;
    362     extern PROJECTINFO ProjectInfo;
    363355    int i2,i3;
    364356    char temporary[MAX_PATH];
     
    421413void Project_Icon_Delete(int IconInfoNum){
    422414    extern HANDLE hHeap;
    423     extern PROJECTINFO ProjectInfo;
    424415    int i2;
    425416    char temporary[MAX_PATH];
     
    460451void Project_Icon_RenameID(int IconInfoNum){
    461452    extern HANDLE hHeap;
    462     extern PROJECTINFO ProjectInfo;
    463453    extern char NewIdName[MAX_PATH];
    464454    extern HWND hMaterialTreeView;
  • trunk/ab5.0/abdev/abdev/TextEditor_EventProc.cpp

    r475 r613  
    3131    extern HWND hDocCombo;
    3232    extern MDIINFO MdiInfo[MAX_WNDNUM];
    33     extern PROJECTINFO ProjectInfo;
    3433    static DWORD dwAutoScroll;
    3534    extern COMPLEMENT_WINDOW_INFO ComplementWndInfo;
  • trunk/ab5.0/abdev/abdev/WindowControl.cpp

    r612 r613  
    1414
    1515int GetWndInfoNum(char *name){
    16     extern PROJECTINFO ProjectInfo;
    1716    for( int i=0;i<static_cast<int>(ProjectInfo.windowInfos.size());i++){
    1817        if(lstrcmpi(name,ProjectInfo.windowInfos[i].name)==0) return i;
     
    2221WINDOW_INFO *GetWndInfo( char *name )
    2322{
    24     extern PROJECTINFO ProjectInfo;
    2523    BOOST_FOREACH( WINDOW_INFO &windowInfo, ProjectInfo.windowInfos )
    2624    {
     
    6866HGLOBAL Rad_GetChildInfoClipboardData(int WndNum,int WndInfoNum){
    6967    //CHILDINFO構造体をクリップボード用データ(pByteが示すバッファ)に変換する
    70     extern PROJECTINFO ProjectInfo;
    7168    extern MDIINFO MdiInfo[MAX_WNDNUM];
    7269    HGLOBAL hGlobal;
     
    523520}
    524521long GetCommandByMessage(int WndInfoNum,const char *MessageName,BOOL bProcedureCall,char *Command,char *spaces){
    525     extern PROJECTINFO ProjectInfo;
    526522    int i,i2,sw;
    527523    char temporary[MAX_PATH],*temp2;
     
    980976void SaveWindowProgram(){
    981977    extern HANDLE hHeap;
    982     extern PROJECTINFO ProjectInfo;
    983978    int i,i2,i3,i4,i5,i6,sw1,sw2,sw3,sw4,size;
    984979    char *buffer,**ppNames,temporary[MAX_PATH];
     
    16321627    extern HANDLE hHeap;
    16331628    extern MDIINFO MdiInfo[MAX_WNDNUM];
    1634     extern PROJECTINFO ProjectInfo;
    16351629    int i,i2,i3,size;
    16361630    char *buffer,*temporary;
     
    17361730    HeapDefaultFree(buffer);
    17371731
    1738     extern PROJECTINFO ProjectInfo;
    17391732    ProjectInfo.ModifyOfMaterial=0;
    17401733}
     
    18341827_int8 OpenWindowFile(char *path){
    18351828    extern HANDLE hHeap;
    1836     extern PROJECTINFO ProjectInfo;
    18371829    int i,i2,i3,i4,i5;
    18381830    char *buffer,temporary[MAX_PATH],*temp2,temp3[MAX_PATH];
     
    21732165void Project_Window_Insert(void){
    21742166    extern HANDLE hHeap;
    2175     extern PROJECTINFO ProjectInfo;
    21762167    char temporary[MAX_PATH],temp2[1024],*pTemp;
    21772168
     
    23342325    extern HANDLE hHeap;
    23352326    extern MDIINFO MdiInfo[MAX_WNDNUM];
    2336     extern PROJECTINFO ProjectInfo;
    23372327    int i;
    23382328
  • trunk/ab5.0/abdev/abdev/include/ProjectManager.h

    r609 r613  
    11#pragma once
     2
     3struct PROJECTINFO{
     4    DWORD dwModuleType;
     5
     6    char name[MAX_PATH];
     7    char dir[MAX_PATH];
     8
     9    DWORD dwVersion;
     10
     11    CDBFileInfo *pobj_DBFileInfo;
     12
     13    char ResourceFileName[MAX_PATH];
     14
     15    int NumberOfMenu;
     16    MENU_INFO *pMenuInfo;
     17    HTREEITEM hMenuTreeItem;
     18
     19    std::vector<WINDOW_INFO> windowInfos;
     20    HTREEITEM hWindowTreeItem;
     21
     22    RESOURCEINFO res;
     23
     24    DWORD dwOption;
     25    char lpszOutput_Release[MAX_PATH];
     26    char lpszOutput_Debug[MAX_PATH];
     27
     28    //マニフェスト
     29    char szManifestPath[MAX_PATH];
     30
     31    //デバッグ情報
     32    char szCmdLine[8192];
     33    char szExePath[MAX_PATH];
     34
     35    //ブレークポイント情報
     36    CDBBreakPoint *pobj_DBBreakPoint;
     37
     38    _int8 ModifyOfMaterial;
     39    _int8 ModifuOfResource;
     40    _int8 modify;
     41};
    242
    343namespace ActiveBasic{ namespace IDE{
     
    5191
    5292}}
     93
     94extern ActiveBasic::IDE::ProjectManager projectManager;
     95extern PROJECTINFO ProjectInfo;
  • trunk/ab5.0/abdev/abdev/stdafx.h

    r609 r613  
    5252#include <MainFrame.h>
    5353#include <Program.h>
    54 #include <ProjectManager.h>
    5554
    5655#include "Common.h"
     56
     57#include <ProjectManager.h>
Note: See TracChangeset for help on using the changeset viewer.