File: select_frame_handler.h

package info (click to toggle)
ripperx 2.7.2-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,256 kB
  • ctags: 609
  • sloc: sh: 10,579; ansic: 6,939; makefile: 145
file content (29 lines) | stat: -rw-r--r-- 993 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

#ifndef SELECT_FRAME_HANDLER_H
#define SELECT_FRAME_HANDLER_H

#include "common.h"
#include <gtk/gtk.h>

#define SF_SELECT_BUTTON_ACT		101
#define SF_ALBUM_ENTRY_CHG			102
#define SF_FILENAME_ENTRY_CHG		103
#define SF_ARTIST_ENTRY_CHG			104
#define SF_SELECT_BUTTON_ACT_ALL	105
#define SF_SYNC_MAIN_DATA			106
#define SF_SYNC_SELECT_FRAME		107

#define SF_YEAR_ENTRY_CHG			110
#define SF_GENRE_ENTRY_CHG			111

/* Create or destroy select frame. ops can be one of WIDGET_CREATE,
 * WIDGET_DESTROY, SF_WAV_BUTTON_ACT, SF_MP3_BUTTON_ACT, 
 * , SF_WAV_ENTRY_CHG, SF_MP3_ENTRY_CHG, and SF_SYNC_MAIN_DATA.
 * When called with WIDGET_CREATE, it will save the value of *main_data
 * and use it for further operation until the widget is created again.
 * So, it's important not to change *main_data while this function is
 * operating on it */
/* Call back functions will convert gpointer callback_data to an integer */
void select_frame_handler( int ops, int track, _main_data *main_data );

#endif