/*
 * menu-camera.h: A plugin for the Video Disk Recorder
 *
 * See the README file for copyright information and how to reach the author.
 *   
 * based on th image plugin
 *
 * This code is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This code is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 * Or, point your browser to http://www.gnu.org/copyleft/gpl.html
 * $Id: menu-camera.h,v 1.6 2004/11/26 21:18:53 peter Exp $
 */

 
/*

File	: menu-camera.h
Autor	: Peter Juszack

Description
-----------------------------------------------------------------
Camera file browser

*/

#ifndef __MENU_CAMERA_
#define __MENU_CAMERA_

#include <vdr/osd.h>

// wrapper class for libgphoto2 funtions
#include "digitalcamera.h"
// browsing menu base class taken from image plugin
#include "menu.h"


class cMenuCamera : public cMenuBrowse {

    private:
	// instance of libgphoto2 wrapper class
	DigitalCamera *dCam;
	// Button definition
	void SetButtons(void);
	void ErrorOccured(void);
    protected:
    
	// implement methode for handling file/directory selection
	virtual eOSState Select(bool isred);
		
    public:
	// constructor
	cMenuCamera(void);
	~cMenuCamera();
	
	// implement key handling
	virtual eOSState ProcessKey(eKeys Key);
};

#endif
