Blame synfig-studio/src/gui/devicetracker.h

Carlos Lopez a09598
/* === S Y N F I G ========================================================= */
Carlos Lopez a09598
/*!	\file devicetracker.h
Carlos Lopez a09598
**	\brief Template Header
Carlos Lopez a09598
**
Carlos Lopez a09598
**	$Id$
Carlos Lopez a09598
**
Carlos Lopez a09598
**	\legal
Carlos Lopez a09598
**	Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
Carlos Lopez a09598
**
Carlos Lopez a09598
**	This package is free software; you can redistribute it and/or
Carlos Lopez a09598
**	modify it under the terms of the GNU General Public License as
Carlos Lopez a09598
**	published by the Free Software Foundation; either version 2 of
Carlos Lopez a09598
**	the License, or (at your option) any later version.
Carlos Lopez a09598
**
Carlos Lopez a09598
**	This package is distributed in the hope that it will be useful,
Carlos Lopez a09598
**	but WITHOUT ANY WARRANTY; without even the implied warranty of
Carlos Lopez a09598
**	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Carlos Lopez a09598
**	General Public License for more details.
Carlos Lopez a09598
**	\endlegal
Carlos Lopez a09598
*/
Carlos Lopez a09598
/* ========================================================================= */
Carlos Lopez a09598
Carlos Lopez a09598
/* === S T A R T =========================================================== */
Carlos Lopez a09598
Carlos Lopez a09598
#ifndef __SYNFIG_DEVICETRACKER_H
Carlos Lopez a09598
#define __SYNFIG_DEVICETRACKER_H
Carlos Lopez a09598
Carlos Lopez a09598
/* === H E A D E R S ======================================================= */
Carlos Lopez a09598
17223e
#include <vector></vector>
17223e
Carlos Lopez a09598
#include <synfig string.h=""></synfig>
Carlos Lopez a09598
#include <synfigapp inputdevice.h=""></synfigapp>
Carlos Lopez a09598
Carlos Lopez a09598
/* === M A C R O S ========================================================= */
Carlos Lopez a09598
Carlos Lopez a09598
/* === T Y P E D E F S ===================================================== */
Carlos Lopez a09598
Carlos Lopez a09598
/* === C L A S S E S & S T R U C T S ======================================= */
Carlos Lopez a09598
17223e
namespace Glib { template<class t=""> class RefPtr; }</class>
17223e
namespace Gdk { class Device; }
17223e
Carlos Lopez a09598
namespace studio {
Carlos Lopez a09598
17223e
typedef std::vector< Glib::RefPtr<gdk::device> > DeviceList;</gdk::device>
17223e
Carlos Lopez a09598
class DeviceTracker
Carlos Lopez a09598
{
Carlos Lopez a09598
public:
Carlos Lopez a09598
	DeviceTracker();
Carlos Lopez a09598
	~DeviceTracker();
Carlos Lopez a09598
17223e
	static void list_devices(DeviceList &out_devices);
17223e
Carlos Lopez a09598
	void save_preferences();
Carlos Lopez a09598
	void load_preferences();
Carlos Lopez a09598
Carlos Lopez a09598
}; // END of class DeviceTracker
Carlos Lopez a09598
Carlos Lopez a09598
}; // END of namespace studio
Carlos Lopez a09598
Carlos Lopez a09598
/* === E N D =============================================================== */
Carlos Lopez a09598
Carlos Lopez a09598
#endif