Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

cMusicWidgetAct.h

Go to the documentation of this file.
00001 
00014 #ifndef _cMusicWidgetAct_h
00015 #define _cMusicWidgetAct_h
00016 
00017 #include "cMusicWidget.h"
00018 #include "cMusic.h"
00019 
00020 #include <string>
00021 
00022 using std::string;
00023 
00024 class cMusicWidgetAct: public cMusicWidget
00025 {
00026 public:
00028         cMusicWidgetAct(wxWindow *Parent);
00029         
00031         ~cMusicWidgetAct(void);
00032         
00034         void Clear(void);
00035         
00036         cMusic  *GetMusic(void);
00037         
00038         void DisplayData(void);
00039 
00041         void UpdateData(void);
00042 protected:
00043         
00044         DECLARE_EVENT_TABLE()
00045         
00046 private:
00047         cMusic  *m_pMusic;      // 1 per Notebook.
00048         Int     iSongRowPos;    // Position of selected row in song list ctrl.
00049 
00050         void DisplaySongNames(const string sSongNames);
00051         const string GetSongsStr(void);
00052         //*****************
00053         // Event functions.
00054         //*****************
00055         void OnSize2(wxSizeEvent &event);
00056         void OnSongEntryEnter(wxCommandEvent& command);
00057         void OnSongRowSelected(wxListEvent& event); // Update selected row position in Cast name list ctrl.
00058         void OnDeletePress(wxListEvent& event); // On delete press, delete selected item.
00059 
00060 };
00061 
00062 #endif // _cMusicWidgetAct_h

Generated on Wed Feb 25 01:15:10 2004 for eDonkeyFilesManager by doxygen 1.3.2