Add TAL-Reverb-II plugin to test
[juce-lv2.git] / juce / source / extras / Introjucer / Source / Application / jucer_FilePreviewComponent.h
blobd15dc59af367574895b485e4e69619b6874f6a18
1 /*
2 ==============================================================================
4 This file is part of the JUCE library - "Jules' Utility Class Extensions"
5 Copyright 2004-10 by Raw Material Software Ltd.
7 ------------------------------------------------------------------------------
9 JUCE can be redistributed and/or modified under the terms of the GNU General
10 Public License (Version 2), as published by the Free Software Foundation.
11 A copy of the license is included in the JUCE distribution, or can be found
12 online at www.gnu.org/licenses.
14 JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
16 A PARTICULAR PURPOSE. See the GNU General Public License for more details.
18 ------------------------------------------------------------------------------
20 To release a closed-source product which uses JUCE, commercial licenses are
21 available: visit www.rawmaterialsoftware.com/juce for more information.
23 ==============================================================================
26 #ifndef __JUCER_ITEMPREVIEWCOMPONENT_JUCEHEADER__
27 #define __JUCER_ITEMPREVIEWCOMPONENT_JUCEHEADER__
30 //==============================================================================
31 /**
33 class ItemPreviewComponent : public Component
35 public:
36 //==============================================================================
37 ItemPreviewComponent (const File& file);
39 void paint (Graphics& g);
41 private:
42 StringArray facts;
43 File file;
44 Image image;
46 void tryToLoadImage();
48 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ItemPreviewComponent);
52 #endif // __JUCER_ITEMPREVIEWCOMPONENT_JUCEHEADER__