Changeset 96 in svn for trunk/Utilities/FROG/Includes/FROG/FROG_Events.h
- Timestamp:
- Dec 12, 2008, 6:23:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/FROG/Includes/FROG/FROG_Events.h
r95 r96 17 17 #include "FROG_Element_Event.h" 18 18 #include "FROG_Objects_Extended.h" 19 #include "FROG_Net_Tools.h" 19 20 20 21 #ifdef FROG_ZLIB … … 32 33 std::vector<unsigned int> OpenedMenu; 33 34 private : 34 const char* FilePath_; 35 std::vector<string> FilesPath_; 36 int CurrentFile_; 35 37 unsigned int CurrentSize_; 36 38 public: 37 FROG_Events( ) : prim(NULL),frogObjects_(NULL), Current_Event(0),FilePath_(NULL), CurrentSize_(0){39 FROG_Events(FROG_Objects_Extended* frogObjects=NULL) : prim(NULL),frogObjects_(frogObjects), Current_Event(0), CurrentFile_(-1), CurrentSize_(0){ 38 40 prim = new FROG_Element_Base(C_PRIMARY); 39 41 … … 43 45 void AddEvent(FROG_Element_Event* event); 44 46 47 void Load (); 48 void Load (std::vector<string>& FilesFromCard); 45 49 void Load (const char* path); 50 void Load (int CurrentFile); 51 46 52 void Save (const char* path); 47 53 bool SaveInLive (const char* path, bool CloseFile=false, bool CompressFiles=true, unsigned int MaxSize=(unsigned int)-1); … … 52 58 FROG_Element_Event* PreviousEvent(); 53 59 60 void NextFile(); 61 void PreviousFile(); 62 const char* CurrentFile(); 63 54 64 FROG_Element_Event* getCurrentEvent() const { 55 65 if( Current_Event<prim->getDaughterSize() ) … … 59 69 60 70 int NumberOfEvents() const { return prim->getDaughterSize(); } 61 void Init(FROG_Objects_Extended* frogObjects);62 71 63 72 void keepEventToDisplay(FROG_Element_Base* mother); … … 68 77 void keepOpenedMenu(FROG_Element_Base* mother); 69 78 void updateOpenedMenu(); 70 71 72 79 }; 73 80
Note:
See TracChangeset
for help on using the changeset viewer.