Add TAL-Reverb-II plugin to test
[juce-lv2.git] / juce / source / extras / JuceDemo / Source / demos / AudioDemoPlaybackPage.h
blobaaf1ce52bdf630bcd7bc3c187aede96867686134
1 /*
2 ==============================================================================
4 This is an automatically generated file created by the Jucer!
6 Creation date: 1 May 2011 12:08:14pm
8 Be careful when adding custom code to these files, as only the code within
9 the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
10 and re-saved.
12 Jucer version: 1.12
14 ------------------------------------------------------------------------------
16 The Jucer is part of the JUCE library - "Jules' Utility Class Extensions"
17 Copyright 2004-6 by Raw Material Software ltd.
19 ==============================================================================
22 #ifndef __JUCER_HEADER_AUDIODEMOPLAYBACKPAGE_AUDIODEMOPLAYBACKPAGE_81B4F279__
23 #define __JUCER_HEADER_AUDIODEMOPLAYBACKPAGE_AUDIODEMOPLAYBACKPAGE_81B4F279__
25 //[Headers] -- You can add your own extra header files here --
26 #include "../jucedemo_headers.h"
27 class DemoThumbnailComp;
28 //[/Headers]
32 //==============================================================================
33 /**
34 //[Comments]
35 An auto-generated component, created by the Jucer.
37 Describe your class and how it works here!
38 //[/Comments]
40 class AudioDemoPlaybackPage : public Component,
41 public FileBrowserListener,
42 public ButtonListener,
43 public SliderListener
45 public:
46 //==============================================================================
47 AudioDemoPlaybackPage (AudioDeviceManager& deviceManager_);
48 ~AudioDemoPlaybackPage();
50 //==============================================================================
51 //[UserMethods] -- You can add your own custom methods in this section.
53 // These methods are our FileBrowserListener implementation:
54 void selectionChanged();
55 void fileClicked (const File& file, const MouseEvent& e);
56 void fileDoubleClicked (const File& file);
57 void showFile (const File& file);
58 //[/UserMethods]
60 void paint (Graphics& g);
61 void resized();
62 void buttonClicked (Button* buttonThatWasClicked);
63 void sliderValueChanged (Slider* sliderThatWasMoved);
67 //==============================================================================
68 juce_UseDebuggingNewOperator
70 private:
71 //[UserVariables] -- You can add your own custom variables in this section.
72 AudioDeviceManager& deviceManager;
73 TimeSliceThread thread;
74 DirectoryContentsList directoryList;
76 AudioSourcePlayer audioSourcePlayer;
77 AudioTransportSource transportSource;
78 ScopedPointer<AudioFormatReaderSource> currentAudioFileSource;
80 void loadFileIntoTransport (const File& audioFile);
81 //[/UserVariables]
83 //==============================================================================
84 Label* zoomLabel;
85 DemoThumbnailComp* thumbnail;
86 TextButton* startStopButton;
87 FileTreeComponent* fileTreeComp;
88 Label* explanation;
89 Slider* zoomSlider;
92 //==============================================================================
93 // (prevent copy constructor and operator= being generated..)
94 AudioDemoPlaybackPage (const AudioDemoPlaybackPage&);
95 const AudioDemoPlaybackPage& operator= (const AudioDemoPlaybackPage&);
99 #endif // __JUCER_HEADER_AUDIODEMOPLAYBACKPAGE_AUDIODEMOPLAYBACKPAGE_81B4F279__