1 /*
2   ==============================================================================
3 
4    This file is part of the JUCE library.
5    Copyright (c) 2020 - Raw Material Software Limited
6 
7    JUCE is an open source library subject to commercial or open-source
8    licensing.
9 
10    By using JUCE, you agree to the terms of both the JUCE 6 End-User License
11    Agreement and JUCE Privacy Policy (both effective as of the 16th June 2020).
12 
13    End User License Agreement: www.juce.com/juce-6-licence
14    Privacy Policy: www.juce.com/juce-privacy-policy
15 
16    Or: You may also use this code under the terms of the GPL v3 (see
17    www.gnu.org/licenses).
18 
19    JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
20    EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
21    DISCLAIMED.
22 
23   ==============================================================================
24 */
25 
26 #pragma once
27 
28 /**
29     A namespace to hold all the possible command IDs.
30 */
31 namespace CommandIDs
32 {
33     enum
34     {
35         newProject              = 0x300000,
36         newProjectFromClipboard = 0x300001,
37         newPIP                  = 0x300002,
38         open                    = 0x300003,
39         closeDocument           = 0x300004,
40         saveDocument            = 0x300005,
41         saveDocumentAs          = 0x300006,
42 
43         launchDemoRunner        = 0x300007,
44 
45         closeProject            = 0x300010,
46         saveProject             = 0x300011,
47         saveAll                 = 0x300012,
48         openInIDE               = 0x300013,
49         saveAndOpenInIDE        = 0x300014,
50         createNewExporter       = 0x300015,
51 
52         showUTF8Tool            = 0x300020,
53         showGlobalPathsWindow   = 0x300021,
54         showTranslationTool     = 0x300022,
55         showSVGPathTool         = 0x300023,
56         showAboutWindow         = 0x300024,
57         checkForNewVersion      = 0x300025,
58         enableNewVersionCheck   = 0x300026,
59         enableLiveBuild         = 0x300027,
60         enableGUIEditor         = 0x300028,
61 
62         showProjectSettings     = 0x300030,
63         showProjectTab          = 0x300031,
64         showBuildTab            = 0x300032,
65         showFileExplorerPanel   = 0x300033,
66         showModulesPanel        = 0x300034,
67         showExportersPanel      = 0x300035,
68         showExporterSettings    = 0x300036,
69 
70         closeWindow             = 0x300040,
71         closeAllWindows         = 0x300041,
72         closeAllDocuments       = 0x300042,
73         goToPreviousDoc         = 0x300043,
74         goToNextDoc             = 0x300044,
75         goToCounterpart         = 0x300045,
76         deleteSelectedItem      = 0x300046,
77         goToPreviousWindow      = 0x300047,
78         goToNextWindow          = 0x300048,
79         clearRecentFiles        = 0x300049,
80 
81         showFindPanel           = 0x300050,
82         findSelection           = 0x300051,
83         findNext                = 0x300052,
84         findPrevious            = 0x300053,
85 
86         cleanAll                = 0x300060,
87         toggleBuildEnabled      = 0x300061,
88         showWarnings            = 0x300062,
89         reinstantiateComp       = 0x300063,
90         launchApp               = 0x300064,
91         killApp                 = 0x300065,
92         buildNow                = 0x300066,
93         toggleContinuousBuild   = 0x300067,
94 
95         enableSnapToGrid        = 0x300070,
96         zoomIn                  = 0x300071,
97         zoomOut                 = 0x300072,
98         zoomNormal              = 0x300073,
99         spaceBarDrag            = 0x300074,
100 
101         nextError               = 0x300080,
102         prevError               = 0x300081,
103 
104         loginLogout             = 0x300090,
105 
106         showForum               = 0x300100,
107         showAPIModules          = 0x300101,
108         showAPIClasses          = 0x300102,
109         showTutorials           = 0x300103,
110 
111         addNewGUIFile           = 0x300200,
112 
113         lastCommandIDEntry
114     };
115 }
116 
117 namespace CommandCategories
118 {
119     static const char* const general       = "General";
120     static const char* const editing       = "Editing";
121     static const char* const view          = "View";
122     static const char* const windows       = "Windows";
123 }
124