Changeset 625 in dev for trunk/ab5.0/abdev/abdev/Common.h
- Timestamp:
- May 27, 2008, 9:17:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/Common.h
r624 r625 258 258 struct RAD_UNDOSTATE_NAME{ 259 259 std::string name; 260 std::string HandleName;261 char *CallBackName;262 260 }; 263 261 #define RAD_UNDO_INSERTWND 1 … … 357 355 int DocType; 358 356 char *title; 359 char *path;357 std::string path; 360 358 361 359 union{ … … 368 366 char *IndentStr; 369 367 }; 370 extern MDIINFO MdiInfo[MAX_WNDNUM];368 extern std::vector<MDIINFO> MdiInfo; 371 369 372 370 //RADツールのマウスドラッグ … … 483 481 #define EVENTTYPE_MMSYS 2 484 482 485 //ウィンドウ タイプ486 #define WNDTYPE_DEFAULT 0487 #define WNDTYPE_MODALDLG 1488 #define WNDTYPE_MODELESSDLG 3489 483 490 484 struct NEWPROJECTINFO{ … … 648 642 char *ReadBuffer( const std::string &path ); 649 643 char *ReadBuffer_NonErrMsg( const std::string &path ); 650 _int8 WriteBuffer(const std::string &path,c har *buffer,int length, bool isEnableError = true);644 _int8 WriteBuffer(const std::string &path,const char *buffer,int length, bool isEnableError = true); 651 645 _int8 WriteBuffer_NonErrMsg(const std::string &path,char *buffer,int length); 652 646 void GetRelationalPath(char *path,char *dir); … … 738 732 void SetupWindow(HWND hwnd); 739 733 BOOL SetRunning(HWND hChild); 740 BOOL IsNeedCompile( char *FileName,BOOL bDebug);734 BOOL IsNeedCompile( const std::string &filepath, BOOL bDebug ); 741 735 std::string GetLastErrorString(); 742 736 … … 875 869 876 870 void add(char *path); 877 void insert(c har *path);871 void insert(const char *path); 878 872 879 873 void ResetFileMenu(CSubMenuEx *pobj_SubMenu,BOOL bOwnerDraw); … … 969 963 970 964 //WindowControl.cpp 971 int GetWndInfoNum( char *name);972 ActiveBasic::PM::WindowInfo *GetWndInfo( c har *name );965 int GetWndInfoNum( const std::string &name ); 966 ActiveBasic::PM::WindowInfo *GetWndInfo( const std::string &name ); 973 967 HGLOBAL Rad_GetChildInfoClipboardData(int WndNum,int WndInfoNum); 974 968 void Rad_PasteChildInfoClipboardData(int WndNum,HGLOBAL hGlobal); 975 969 char *PermutationWndPgmTemplate(char *pBuf,const char *pPjName, char *pWndName, char *pHandleName, char *pProcName); 970 const std::string PermutationWndPgmTemplate( const std::string &templateFilePath, const std::string &projectName, std::string &windowName, std::string &handleName, std::string &procName ); 976 971 void GetItemClassName(char *buffer,int Control); 977 972 void SaveWindowProgram(); … … 1057 1052 1058 1053 //MenuProc.cpp 1059 int GetMenuInfoNum(const char *name);1054 int GetMenuInfoNum(const std::string &name); 1060 1055 void HeapMenuDataFree(MENU_INFO *pMenuInfo,int ItemNum,int *NumberOfFreedItem); 1061 1056 BOOL CALLBACK DlgProject_MenuID_Input(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam);
Note:
See TracChangeset
for help on using the changeset viewer.