// generated by Fast Light User Interface Designer (fluid) version 1.0109

#ifndef flrecUImain_h
#define flrecUImain_h
#include <FL/Fl.H>
#include <unistd.h>
#include <ctype.h>
#include <ctype.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "Fl_Simple_File_Chooser.h"
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Group.H>
#include <FL/Fl_Button.H>
#include <FL/Fl_File_Input.H>
#include <FL/Fl_Choice.H>
#include <FL/Fl_Output.H>

class flrecUImain {
public:
  int m_Status; 
private:
  int (* m_cmdcb)(int); 
  int (* m_stcb)(int); 
  bool m_timeron; 
  unsigned long m_timerval; 
  friend void fccb_main(void *p,const char* str); 
  Fl_Simple_File_Chooser *mp_fc; 
public:
  flrecUImain(int (*statuscb)(int),int (*commandcb)(int));
  Fl_Double_Window *w_main;
private:
  void cb_w_main_i(Fl_Double_Window*, void*);
  static void cb_w_main(Fl_Double_Window*, void*);
public:
  Fl_Group *g_file;
private:
  Fl_Button *b_fileopen;
  void cb_b_fileopen_i(Fl_Button*, void*);
  static void cb_b_fileopen(Fl_Button*, void*);
public:
  Fl_File_Input *f_fileinput;
private:
  void cb_f_fileinput_i(Fl_File_Input*, void*);
  static void cb_f_fileinput(Fl_File_Input*, void*);
  Fl_Button *b_mixer;
  void cb_b_mixer_i(Fl_Button*, void*);
  static void cb_b_mixer(Fl_Button*, void*);
  Fl_Button *b_settings;
  void cb_b_settings_i(Fl_Button*, void*);
  static void cb_b_settings(Fl_Button*, void*);
  Fl_Button *b_effects;
  void cb_b_effects_i(Fl_Button*, void*);
  static void cb_b_effects(Fl_Button*, void*);
public:
  Fl_Group *g_menu;
  Fl_Choice *mn_sample;
private:
  void cb_mn_sample_i(Fl_Choice*, void*);
  static void cb_mn_sample(Fl_Choice*, void*);
public:
  Fl_Choice *mn_mode;
private:
  void cb_mn_mode_i(Fl_Choice*, void*);
  static void cb_mn_mode(Fl_Choice*, void*);
public:
  Fl_Choice *mn_format;
private:
  void cb_mn_format_i(Fl_Choice*, void*);
  static void cb_mn_format(Fl_Choice*, void*);
  Fl_Output *o_dimension;
  Fl_Button *b_stop;
  void cb_b_stop_i(Fl_Button*, void*);
  static void cb_b_stop(Fl_Button*, void*);
  Fl_Button *b_rec_lock;
  void cb_b_rec_lock_i(Fl_Button*, void*);
  static void cb_b_rec_lock(Fl_Button*, void*);
  Fl_Button *b_rec;
  void cb_b_rec_i(Fl_Button*, void*);
  static void cb_b_rec(Fl_Button*, void*);
  Fl_Button *b_play;
  void cb_b_play_i(Fl_Button*, void*);
  static void cb_b_play(Fl_Button*, void*);
  Fl_Button *b_pause;
  void cb_b_pause_i(Fl_Button*, void*);
  static void cb_b_pause(Fl_Button*, void*);
public:
  void refreshfiledim();
  void setstatus(int status,bool extcall);
  void clicktimer();
  void show();
  void fillmenus(const char** s_val,const int s_count,const char** m_val,const int m_count,const char** f_val,const int f_count);
};
void fccb_main(void *p,const char* str);
#endif
