home *** CD-ROM | disk | FTP | other *** search
/ Geek 6 / Geek-006.iso / linux / video / xmovie-1.5.3.tar.gz / xmovie-1.5.3.tar / xmovie-1.5.3 / xmovie / playlist.h < prev    next >
C/C++ Source or Header  |  2000-11-29  |  417b  |  31 lines

  1. #ifndef PLAYLIST_H
  2. #define PLAYLIST_H
  3.  
  4. #include "arraylist.h"
  5. #include "playlist.inc"
  6.  
  7. class PlaylistArray : public ArrayList<char*>
  8. {
  9. public:
  10.     PlaylistArray();
  11.     ~PlaylistArray();
  12. };
  13.  
  14. class Playlist
  15. {
  16. public:
  17.     Playlist();
  18.     ~Playlist();
  19.  
  20.     int load(char *path);
  21.     int save(char *path);
  22.     
  23.     int append_path(char *path);
  24.     int delete_path(int path);
  25.     int swap_paths(int path1, int path2);
  26.     
  27.     PlaylistArray array;
  28. };
  29.  
  30. #endif
  31.