#ifndef __VIEWER_FILEBROWSER_H
#define __VIEWER_FILEBROWSER_H

#include <vdr/menuitems.h>
#include "filebrowser/menu-filebrowser.h"
#include "filebrowser/statebag.h"
#include "filebrowser/commands.h"

// --- cMenuViewerFilebrowser ---------------------------------------------------

class cMenuViewerFilebrowser : public cOsdMenuFilebrowser {
private:
  char Filename[MaxFileName];
  char *pFilename;
  char Dirname[MaxFileName];
  bool *pok;
public:
  cMenuViewerFilebrowser(char *filename, bool * pOk, cFilebrowserStatebag* Statebag=NULL);
  virtual ~cMenuViewerFilebrowser();
  virtual eOSState ProcessKey(eKeys Key);
};

#endif
