source: dev/trunk/ab5.0/abdev/abdev/ExtensionLink.h @ 717

Last change on this file since 717 was 717, checked in by dai, 14 years ago

#188への対応。UserSettingディレクトリを廃止し、正規のユーザ空間ディレクトリを取り入れた。

File size: 747 bytes
Line 
1
2class COneExt{
3public:
4    BOOL m_bReg;
5    char m_szExtension[64];
6    char m_szNote[255];
7    BOOL m_bWindowsSearch;
8
9    COLORREF TabColor;
10
11    COneExt(BOOL bReg,char *lpszExtension,char *lpszNote,BOOL bWindowsSearch,COLORREF tab_color);
12    ~COneExt();
13};
14
15class CExtLink{
16public:
17    COneExt **ppobj_ExtItems;
18    int iExtItemNum;
19
20    CExtLink();
21    ~CExtLink();
22
23    void load( const std::string &path );
24    void save( const std::string &path );
25
26    BOOL add(BOOL bReg,char *lpszExtension,char *lpszNote,BOOL bWindowsSearch,COLORREF tab_color);
27    void del(char *lpszExtension);
28
29    void SetInitData();
30
31    void ResetListView(HWND hListView);
32
33    COLORREF GetTabColorFromFilePath( const std::string &filepath );
34};
35
36
37void ExtensionLink(HWND hwnd);
Note: See TracBrowser for help on using the repository browser.