From bc2f908c9c4c6a50847ae522552018bc7ef3ce25 Mon Sep 17 00:00:00 2001 From: jules Date: Mon, 31 Mar 2014 10:07:55 +0100 Subject: [PATCH] Added 'override' keywords to some introjucer template files --- .../BinaryData/jucer_MainTemplate_NoWindow.cpp | 14 +++++++------- .../BinaryData/jucer_MainTemplate_Window.cpp | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/extras/Introjucer/Source/BinaryData/jucer_MainTemplate_NoWindow.cpp b/extras/Introjucer/Source/BinaryData/jucer_MainTemplate_NoWindow.cpp index 1b793fcb44..01f4c2e9ea 100644 --- a/extras/Introjucer/Source/BinaryData/jucer_MainTemplate_NoWindow.cpp +++ b/extras/Introjucer/Source/BinaryData/jucer_MainTemplate_NoWindow.cpp @@ -18,30 +18,30 @@ public: //============================================================================== APPCLASSNAME() {} - const String getApplicationName() { return ProjectInfo::projectName; } - const String getApplicationVersion() { return ProjectInfo::versionString; } - bool moreThanOneInstanceAllowed() { return ALLOWMORETHANONEINSTANCE; } + const String getApplicationName() override { return ProjectInfo::projectName; } + const String getApplicationVersion() override { return ProjectInfo::versionString; } + bool moreThanOneInstanceAllowed() override { return ALLOWMORETHANONEINSTANCE; } //============================================================================== - void initialise (const String& commandLine) + void initialise (const String& commandLine) override { // Add your application's initialisation code here.. } - void shutdown() + void shutdown() override { // Add your application's shutdown code here.. } //============================================================================== - void systemRequestedQuit() + void systemRequestedQuit() override { // This is called when the app is being asked to quit: you can ignore this // request and let the app carry on running, or call quit() to allow the app to close. quit(); } - void anotherInstanceStarted (const String& commandLine) + void anotherInstanceStarted (const String& commandLine) override { // When another instance of the app is launched while this one is running, // this method is invoked, and the commandLine parameter tells you what diff --git a/extras/Introjucer/Source/BinaryData/jucer_MainTemplate_Window.cpp b/extras/Introjucer/Source/BinaryData/jucer_MainTemplate_Window.cpp index 2fe0a823ab..472a7dff5c 100644 --- a/extras/Introjucer/Source/BinaryData/jucer_MainTemplate_Window.cpp +++ b/extras/Introjucer/Source/BinaryData/jucer_MainTemplate_Window.cpp @@ -18,19 +18,19 @@ public: //============================================================================== APPCLASSNAME() {} - const String getApplicationName() { return ProjectInfo::projectName; } - const String getApplicationVersion() { return ProjectInfo::versionString; } - bool moreThanOneInstanceAllowed() { return ALLOWMORETHANONEINSTANCE; } + const String getApplicationName() override { return ProjectInfo::projectName; } + const String getApplicationVersion() override { return ProjectInfo::versionString; } + bool moreThanOneInstanceAllowed() override { return ALLOWMORETHANONEINSTANCE; } //============================================================================== - void initialise (const String& commandLine) + void initialise (const String& commandLine) override { // This method is where you should put your application's initialisation code.. mainWindow = new MainWindow(); } - void shutdown() + void shutdown() override { // Add your application's shutdown code here.. @@ -38,14 +38,14 @@ public: } //============================================================================== - void systemRequestedQuit() + void systemRequestedQuit() override { // This is called when the app is being asked to quit: you can ignore this // request and let the app carry on running, or call quit() to allow the app to close. quit(); } - void anotherInstanceStarted (const String& commandLine) + void anotherInstanceStarted (const String& commandLine) override { // When another instance of the app is launched while this one is running, // this method is invoked, and the commandLine parameter tells you what