comparison framework/MainWindowBase.h @ 366:0876ea394902 warnfix_no_size_t

Remove size_t's, fix compiler warnings
author Chris Cannam
date Tue, 17 Jun 2014 16:23:06 +0100
parents 4969e7921931
children f1cab64363d7
comparison
equal deleted inserted replaced
355:e7a3fa8f4eec 366:0876ea394902
108 108
109 virtual bool saveSessionFile(QString path); 109 virtual bool saveSessionFile(QString path);
110 virtual bool saveSessionTemplate(QString path); 110 virtual bool saveSessionTemplate(QString path);
111 111
112 /// Implementation of FrameTimer interface method 112 /// Implementation of FrameTimer interface method
113 virtual unsigned long getFrame() const; 113 virtual int getFrame() const;
114 114
115 signals: 115 signals:
116 // Used to toggle the availability of menu actions 116 // Used to toggle the availability of menu actions
117 void canAddPane(bool); 117 void canAddPane(bool);
118 void canDeleteCurrentPane(bool); 118 void canDeleteCurrentPane(bool);
205 205
206 virtual void playLoopToggled(); 206 virtual void playLoopToggled();
207 virtual void playSelectionToggled(); 207 virtual void playSelectionToggled();
208 virtual void playSoloToggled(); 208 virtual void playSoloToggled();
209 209
210 virtual void sampleRateMismatch(size_t, size_t, bool) = 0; 210 virtual void sampleRateMismatch(int, int, bool) = 0;
211 virtual void audioOverloadPluginDisabled() = 0; 211 virtual void audioOverloadPluginDisabled() = 0;
212 virtual void audioTimeStretchMultiChannelDisabled() = 0; 212 virtual void audioTimeStretchMultiChannelDisabled() = 0;
213 213
214 virtual void playbackFrameChanged(unsigned long); 214 virtual void playbackFrameChanged(int);
215 virtual void globalCentreFrameChanged(unsigned long); 215 virtual void globalCentreFrameChanged(int);
216 virtual void viewCentreFrameChanged(View *, unsigned long); 216 virtual void viewCentreFrameChanged(View *, int);
217 virtual void viewZoomLevelChanged(View *, unsigned long, bool); 217 virtual void viewZoomLevelChanged(View *, int, bool);
218 virtual void outputLevelsChanged(float, float) = 0; 218 virtual void outputLevelsChanged(float, float) = 0;
219 219
220 virtual void currentPaneChanged(Pane *); 220 virtual void currentPaneChanged(Pane *);
221 virtual void currentLayerChanged(Pane *, Layer *); 221 virtual void currentLayerChanged(Pane *, Layer *);
222 222
232 virtual void pasteAtPlaybackPosition(); 232 virtual void pasteAtPlaybackPosition();
233 virtual void pasteRelative(int offset); 233 virtual void pasteRelative(int offset);
234 virtual void deleteSelected(); 234 virtual void deleteSelected();
235 235
236 virtual void insertInstant(); 236 virtual void insertInstant();
237 virtual void insertInstantAt(size_t); 237 virtual void insertInstantAt(int);
238 virtual void insertInstantsAtBoundaries(); 238 virtual void insertInstantsAtBoundaries();
239 virtual void insertItemAtSelection(); 239 virtual void insertItemAtSelection();
240 virtual void insertItemAt(size_t, size_t); 240 virtual void insertItemAt(int, int);
241 virtual void renumberInstants(); 241 virtual void renumberInstants();
242 242
243 virtual void documentModified(); 243 virtual void documentModified();
244 virtual void documentRestored(); 244 virtual void documentRestored();
245 245