Fork me on GitHub

Ignore:
Timestamp:
Dec 12, 2008, 6:23:24 PM (16 years ago)
Author:
severine ovyn
Message:

second commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/FROG/Includes/FROG/FROG_Events.h

    r95 r96  
    1717#include "FROG_Element_Event.h"
    1818#include "FROG_Objects_Extended.h"
     19#include "FROG_Net_Tools.h"
    1920
    2021#ifdef FROG_ZLIB
     
    3233        std::vector<unsigned int> OpenedMenu;
    3334private :
    34         const char*  FilePath_;
     35        std::vector<string>  FilesPath_;
     36                         int CurrentFile_;
    3537        unsigned int CurrentSize_;
    3638public:
    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){
    3840                prim = new FROG_Element_Base(C_PRIMARY);
    3941
     
    4345        void AddEvent(FROG_Element_Event* event);
    4446
     47        void Load ();
     48        void Load (std::vector<string>& FilesFromCard);
    4549        void Load (const char* path);
     50        void Load (int CurrentFile);
     51
    4652        void Save (const char* path);   
    4753        bool SaveInLive (const char* path, bool CloseFile=false, bool CompressFiles=true, unsigned int MaxSize=(unsigned int)-1);
     
    5258    FROG_Element_Event* PreviousEvent();
    5359
     60    void NextFile();
     61    void PreviousFile();
     62        const char* CurrentFile();
     63
    5464    FROG_Element_Event* getCurrentEvent() const {
    5565                if( Current_Event<prim->getDaughterSize() )
     
    5969
    6070    int NumberOfEvents() const { return prim->getDaughterSize(); }
    61         void Init(FROG_Objects_Extended* frogObjects);
    6271
    6372        void keepEventToDisplay(FROG_Element_Base* mother);
     
    6877        void keepOpenedMenu(FROG_Element_Base* mother);
    6978        void updateOpenedMenu();
    70 
    71 
    7279};
    7380
Note: See TracChangeset for help on using the changeset viewer.