Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/CTreeFileElement.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download) (as text)
Sun Aug 15 01:53:13 2010 UTC (13 years, 9 months ago) by okadu
File MIME type: text/x-chdr
File size: 908 byte(s)


1 #ifndef CTREEFILEELEMENT_H_INCLUDED
2 #define CTREEFILEELEMENT_H_INCLUDED
3
4 #include "CTreeElement.h"
5
6 /*
7 * ツリーファイル要素
8 */
9 class CTreeFileElement: public CTreeElement{
10 friend class CPluginTree;
11 friend class CTreeElement;
12 private:
13 CMDTYPE m_CommandType; // コマンドタイプ
14 CPlugin *m_Plugin; // プラグイン
15 public:
16 CTreeFileElement(char *, CTreeDirElement *, CPluginTree *, CPlugin *);
17 ~CTreeFileElement(){}
18 CTreeFileElement *IsFile(){ return this; }
19 CPlugin *GetPlugin(){ return m_Plugin; }
20 void SetCommandType(CMDTYPE t){ m_CommandType = t; }
21 CMDTYPE GetCommandType(){ return m_CommandType; }
22 bool IsRenamable();
23 bool ConfirmRename(string &);
24 bool IsDeletable();
25 void PushListElement(CPluginListView *);
26 void Save(FILE *, string);
27 int CountItem(int, int *, bool);
28 int ScanInput(int, int, int, int, int);
29 int Render(int, int, int, int, int);
30 };
31
32 #endif

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