Changeset 651 in dev for trunk/ab5.0/abdev/abdev/Common.h
- Timestamp:
- Jun 17, 2008, 9:30:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/Common.h
r629 r651 28 28 #include "BREGEXP.H" 29 29 #include "../compiler_x86/CommandValue.h" 30 31 32 typedef struct _charrange {33 LONG cpMin;34 LONG cpMax;35 } CHARRANGE;36 30 37 31 … … 413 407 414 408 class CFileInfo{ 409 std::string filepath; 415 410 public: 416 char *m_path;417 411 HTREEITEM m_hTreeItem; 418 CFileInfo(char *path,HTREEITEM hTreeItem); 419 ~CFileInfo(); 412 CFileInfo( const std::string &filepath, HTREEITEM hTreeItem ); 413 414 const std::string &GetPath() const 415 { 416 return filepath; 417 } 420 418 421 419 void GetFullPath(char *buffer); … … 431 429 void add(char *path,HTREEITEM hTreeItem); 432 430 void del(HTREEITEM hTreeItem); 433 c har *GetPath(HTREEITEM hTreeItem);431 const std::string &GetPath(HTREEITEM hTreeItem); 434 432 BOOL IsMainFile(HTREEITEM hTreeItem); 435 433 … … 648 646 BOOL GetFilePathDialog(HWND hwnd,char *filename,LPSTR Filter,LPSTR Title,_int8 IsOpen); 649 647 BOOL GetFolder(HWND hWnd,char *folder,char *OpenFolderTitle); 650 int GetFileExtension( char *path);648 int GetFileExtension( const char *path ); 651 649 HWND OpenFileWithExtension( const std::string &filePath ); 652 650 BOOL SaveDocument(HWND hChild,char *SaveFileName);
Note:
See TracChangeset
for help on using the changeset viewer.