1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-20 07:31:19 +01:00

Move an array definition to Snap.h, use std::vector

This commit is contained in:
Paul Licameli
2015-07-09 00:38:42 -04:00
parent 54740c348b
commit d8ce9f0d7d
4 changed files with 42 additions and 46 deletions

View File

@@ -15,16 +15,27 @@
#ifndef __AUDACITY_SNAP__
#define __AUDACITY_SNAP__
#include <vector>
#include <wx/defs.h>
#include <wx/dynarray.h>
#include "widgets/NumericTextCtrl.h"
class Track;
class WaveClip;
class TrackList;
class TrackClipArray;
class ZoomInfo;
class TrackClip
{
public:
TrackClip(Track *t, WaveClip *c) { track = t; clip = c; }
Track *track;
WaveClip *clip;
};
typedef std::vector<TrackClip> TrackClipArray;
enum
{
SNAP_OFF,