00001 #ifndef PLAYABLETRACKS_H 00002 #define PLAYABLETRACKS_H 00003 00004 #include "arraylist.h" 00005 #include "datatype.h" 00006 #include "mwindow.inc" 00007 #include "renderengine.inc" 00008 #include "track.h" 00009 00010 class PlayableTracks : public ArrayList<Track*> 00011 { 00012 public: 00013 PlayableTracks(RenderEngine *renderengine, 00014 long current_position, // Position in native units of tracks 00015 int data_type, 00016 int use_nudge); 00017 ~PlayableTracks(); 00018 00019 // return 1 if the track is playable at the position 00020 int is_playable(Track *current_track, 00021 long position, 00022 int use_nudge); 00023 // return 1 if the track is in the list 00024 int is_listed(Track *track); 00025 00026 RenderEngine *renderengine; 00027 int data_type; 00028 MWindow *mwindow; 00029 }; 00030 00031 00032 00033 #endif
1.5.5