Develop and Download Open Source Software

Browse Subversion Repository

Contents of /CopalPro/KFileHistory.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download) (as text)
Thu Jul 28 09:05:52 2011 UTC (12 years, 9 months ago) by kaityo
File MIME type: text/x-chdr
File size: 976 byte(s)
First Commit
1 //---------------------------------------------------------------------------
2 #ifndef KFileHistoryH
3 #define KFileHistoryH
4 #include <Inifiles.hpp>
5 //---------------------------------------------------------------------------
6 class KFileHistory {
7 private:
8 TMenuItem *MMReload;
9 TStringList *FileList;
10 TMenuItem *miNone;
11 TMenuItem *miClear;
12 Classes::TNotifyEvent OnClick;
13 int MaxFile;
14
15 public:
16 KFileHistory(TMenuItem *mi,Classes::TNotifyEvent &AOnClick);
17 ~KFileHistory(void);
18 //インタフェース
19
20 void OpenFile(AnsiString FileName);
21 AnsiString GetFileName(int Index) {
22 return FileList->Strings[Index];
23 };
24 void KFileHistory::SaveHistory(TIniFile *IniFile);
25 void KFileHistory::LoadHistory(TIniFile *IniFile);
26
27 int GetFileCount(void) {
28 return FileList->Count;
29 };
30
31 __fastcall void OnMMClear(TObject *Sender);//履歴クリア
32
33 };
34 //---------------------------------------------------------------------------
35 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26