mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-28 02:30:05 +00:00
Introjucer: moved some definitions into a more appropriate header
This commit is contained in:
parent
8e9ed0d0a9
commit
c644dbdbd6
2 changed files with 12 additions and 15 deletions
|
|
@ -68,15 +68,6 @@ const char* const projectItemDragType = "Project Items";
|
|||
const char* const drawableItemDragType = "Drawable Items";
|
||||
const char* const componentItemDragType = "Components";
|
||||
|
||||
const char* const sourceFileExtensions = "cpp;mm;m;c;cc;cxx;swift;s;asm";
|
||||
const char* const headerFileExtensions = "h;hpp;hxx;hh;inl";
|
||||
const char* const cOrCppFileExtensions = "cpp;cc;cxx;c";
|
||||
const char* const cppFileExtensions = "cpp;cc;cxx";
|
||||
const char* const objCFileExtensions = "mm;m";
|
||||
const char* const asmFileExtensions = "s;S;asm";
|
||||
const char* const sourceOrHeaderFileExtensions = "cpp;mm;m;c;cc;cxx;swift;s;S;asm;h;hpp;hxx;hh;inl";
|
||||
const char* const fileTypesToCompileByDefault = "cpp;mm;c;m;cc;cxx;swift;s;S;asm;r";
|
||||
|
||||
enum ColourIds
|
||||
{
|
||||
mainBackgroundColourId = 0x2340000,
|
||||
|
|
|
|||
|
|
@ -54,13 +54,19 @@ namespace FileHelpers
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
class FileModificationDetector
|
||||
const char* const sourceFileExtensions = "cpp;mm;m;c;cc;cxx;swift;s;asm";
|
||||
const char* const headerFileExtensions = "h;hpp;hxx;hh;inl";
|
||||
const char* const cOrCppFileExtensions = "cpp;cc;cxx;c";
|
||||
const char* const cppFileExtensions = "cpp;cc;cxx";
|
||||
const char* const objCFileExtensions = "mm;m";
|
||||
const char* const asmFileExtensions = "s;S;asm";
|
||||
const char* const sourceOrHeaderFileExtensions = "cpp;mm;m;c;cc;cxx;swift;s;S;asm;h;hpp;hxx;hh;inl";
|
||||
const char* const fileTypesToCompileByDefault = "cpp;mm;c;m;cc;cxx;swift;s;S;asm;r";
|
||||
|
||||
//==============================================================================
|
||||
struct FileModificationDetector
|
||||
{
|
||||
public:
|
||||
FileModificationDetector (const File& f)
|
||||
: file (f)
|
||||
{
|
||||
}
|
||||
FileModificationDetector (const File& f) : file (f) {}
|
||||
|
||||
const File& getFile() const { return file; }
|
||||
void fileHasBeenRenamed (const File& newFile) { file = newFile; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue