~jcowgill/ubuntu/trusty/easytag/bug-1295882

« back to all changes in this revision

Viewing changes to src/picture.h

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2008-09-08 21:44:11 UTC
  • mfrom: (3.1.10 hardy)
  • Revision ID: james.westby@ubuntu.com-20080908214411-v237hcgn5d97ecut
Tags: 2.1.4-1.1
* Non-maintainer upload.
* Warn user when ogg vorbis tags will be lost, fix handling of multiple same
  ogg vorbis tags (Closes: #460247).
* Fix lintian warnings:
  - Add watch file.
  - Install icon for menu file (Closes: #477456).
  - Fix section in menu file.
  - Drop version from NAME section of man page to `apropos' and `whatis'
    happy.
  - Include copyright information in debian/copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
    Picture *next;
43
43
};*/
44
44
 
45
 
enum // Picture types
 
45
typedef enum // Picture types
46
46
{
47
 
    PICTURE_TYPE_OTHER,
 
47
    // Same values for FLAC, see: http://flac.sourceforge.net/api/group__flac__format.html#ga113
 
48
    PICTURE_TYPE_OTHER = 0,
48
49
    PICTURE_TYPE_FILE_ICON,
49
50
    PICTURE_TYPE_OTHER_FILE_ICON,
50
51
    PICTURE_TYPE_FRONT_COVER,
64
65
    PICTURE_TYPE_A_BRIGHT_COLOURED_FISH,
65
66
    PICTURE_TYPE_ILLUSTRATION,
66
67
    PICTURE_TYPE_BAND_ARTIST_LOGOTYPE,
67
 
    PICTURE_TYPE_PUBLISHER_STUDIO_LOGOTYPE
68
 
};
 
68
    PICTURE_TYPE_PUBLISHER_STUDIO_LOGOTYPE,
 
69
    
 
70
    PICTURE_TYPE_UNDEFINED
 
71
} Picture_Type;
69
72
 
70
 
enum
 
73
typedef enum
71
74
{
72
75
    PICTURE_FORMAT_JPEG,
73
76
    PICTURE_FORMAT_PNG,
74
77
    PICTURE_FORMAT_UNKNOWN
75
 
};
 
78
} Picture_Format;
76
79
 
77
80
enum // Columns for PictureEntryView
78
81
{
110
113
void Picture_Clear_Button_Clicked       (GObject *object);
111
114
 
112
115
void PictureEntry_Clear  (void);
113
 
void PictureEntry_Update (Picture *pic, gint select);
 
116
void PictureEntry_Update (Picture *pic, gboolean select_it);
114
117
 
115
 
Picture *Picture_Allocate (void);
116
 
Picture *Picture_Copy_One (const Picture *pic);
117
 
Picture *Picture_Copy (const Picture *pic);
118
 
void     Picture_Free (Picture *pic);
119
 
gint     Picture_Format (Picture *pic);
 
118
Picture       *Picture_Allocate         (void);
 
119
Picture       *Picture_Copy_One         (const Picture *pic);
 
120
Picture       *Picture_Copy             (const Picture *pic);
 
121
void           Picture_Free             (Picture *pic);
 
122
Picture_Format Picture_Format_From_Data (Picture *pic);
 
123
const gchar   *Picture_Mime_Type_String (Picture_Format format);
120
124
 
121
125
gboolean Picture_Entry_View_Button_Pressed (GtkTreeView *treeview, GdkEventButton *event, gpointer data);
122
126
gboolean Picture_Entry_View_Key_Pressed    (GtkTreeView *treeview, GdkEvent *event, gpointer data);