view src/amidi-plug/backend-dummy/b-dummy.h @ 866:d8b8b36d2709 trunk

[svn] - prevent skin list overlap when it's first populated and user quickly switchs to other tabs in the prefswin
author giacomo
date Fri, 16 Mar 2007 18:47:24 -0700
parents e1c6b223431e
children
line wrap: on
line source

/*
*
* Author: Giacomo Lozito <james@develia.org>, (C) 2005-2006
*
* This program 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 program 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.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
*
*/

#ifndef _B_DUMMY_H
#define _B_DUMMY_H 1


#include "../i_common.h"
#include "../i_configure_file.h"
#include <glib/gprintf.h>
#include "../pcfg/i_pcfg.h"
#include "../i_midievent.h"


typedef struct
{
  FILE * file;

  gint ppq;
  gdouble usec_per_tick;
  guint tick_offset;

  GTimer * timer_seq;
}
sequencer_client_t;


void i_sleep( guint );
void i_printf( FILE * , const gchar * , ... );
void i_cfg_read( i_cfg_get_file_cb );
void i_cfg_free( void );

#endif /* !_B_DUMMY_H */