~ubuntu-branches/ubuntu/gutsy/kid3/gutsy

« back to all changes in this revision

Viewing changes to kid3/mp3framelist.h

  • Committer: Bazaar Package Importer
  • Author(s): Sarah Hobbs
  • Date: 2006-07-14 12:25:16 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060714122516-p2wk0iyzumu6jx42
Tags: 0.7-1ubuntu1
Merge from debian unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
         * Add a new frame.
127
127
         *
128
128
         * @param frameId ID of frame to add
 
129
         * @param edit    true to edit frame after adding it
129
130
         * @return TRUE if frame added.
130
131
         */
131
 
        virtual bool addFrame(int frameId);
 
132
        virtual bool addFrame(int frameId, bool edit = false);
 
133
        /**
 
134
         * Copy the selected frame to the copy buffer.
 
135
         *
 
136
         * @return true if frame copied.
 
137
         */
 
138
        virtual bool copyFrame();
 
139
        /**
 
140
         * Paste the selected frame from the copy buffer.
 
141
         *
 
142
         * @return true if frame pasted.
 
143
         */
 
144
        virtual bool pasteFrame();
132
145
        /**
133
146
         * Display a dialog to select a frame type.
134
147
         *
176
189
         */
177
190
        void readTags(void);
178
191
        /**
 
192
         * Create dialog to edit a frame and update the fields if Ok is
 
193
         * returned.
 
194
         *
 
195
         * @param frame frame to edit
 
196
         *
 
197
         * @return TRUE if Ok selected in dialog.
 
198
         */
 
199
        bool editFrame(ID3_Frame* frame);
 
200
        /**
179
201
         * Get description of frame.
180
202
         *
181
203
         * @param id ID of frame
195
217
#endif
196
218
        /** Encoding selected in frame dialog */
197
219
        ID3_TextEnc selected_enc;
 
220
        /** Frame storage for copy-paste */
 
221
        ID3_Frame* m_copyFrame;
 
222
 
198
223
        /** Alphabetically sorted list of frame descriptions */
199
224
        static const char *frameid_str[num_frameid];
200
225
        /** Frame IDs corresponding to frameid_str[] */