#define PLAYLIST_DECL          true

class playlist
{
  private:
    // Variables
    int     intLine;                    // Current line in playlist display
    int     intListCount;               // Number of songs in the playlist
    char    play_list[300][250];        // Actual play list
    char    list_paths[300][250];       // Paths of the playlist files
  public:
    // Variables
    int     intListCurrent;             // Currently selected song
    // Functions
            playlist();                 // Constructor
    char*   current(void);              // Currently selected song
    char*   current_viewing(void);      // Currently viewing song
    char*   path(void);                 // Path of currently selected song
    int     clear(void);                // Clear the playlist
    int     add(char*, char*);          // Add a song to the playlist
    int     up(void);                   // Go up in the playlist
    int     down(void);                 // Go down in the playlist
    int     display(int);               // Display the playlist on the LCD screen
    int     select_current(void);       // Select the current item in the playlist
    int     next(player*, int);         // Move to the next song in the playlist
    int     previous(player*, int);     // Move to the previous song in the playlist
};


syntax highlighted by Code2HTML, v. 0.9.1