Add remaining files
[juce-lv2.git] / juce / source / extras / Introjucer / Source / Project / jucer_NewProjectWizard.h
blob1388ea10bde16a5e4fcdedf1b9752dcafcb6f85e
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_PROJECTWIZARD_JUCEHEADER__
27 #define __JUCER_PROJECTWIZARD_JUCEHEADER__
29 #include "../jucer_Headers.h"
30 #include "jucer_Project.h"
33 //==============================================================================
34 class NewProjectWizard
36 public:
37 virtual ~NewProjectWizard();
39 //==============================================================================
40 static const StringArray getWizards();
41 static int getNumWizards();
42 static NewProjectWizard* createWizard (int index);
44 static Project* runNewProjectWizard (Component* ownerWindow);
46 //==============================================================================
47 virtual const String getName() = 0;
48 virtual const String getDescription() = 0;
50 virtual void addItemsToAlertWindow (AlertWindow& aw) = 0;
51 virtual const String processResultsFromAlertWindow (AlertWindow& aw) = 0;
52 virtual bool initialiseProject (Project& project) = 0;
54 protected:
55 String appTitle;
56 File targetFolder, projectFile;
57 Component* ownerWindow;
58 StringArray failedFiles;
60 //==============================================================================
61 NewProjectWizard();
62 Project* runWizard (Component* ownerWindow);
64 const File getSourceFilesFolder() const { return projectFile.getSiblingFile ("Source"); }
68 #endif // __JUCER_PROJECTWIZARD_JUCEHEADER__