From 2758343c4e09b60a9a3c5074f6444812ca4b9cb7 Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Wed, 10 Aug 2011 16:29:21 +0200 Subject: [PATCH] Switch to Objective-C++ --- Medianno.xcodeproj/project.pbxproj | 48 +++++++++---------- Medianno/{MAAnno.m => MAAnno.mm} | 0 Medianno/{MADocument.m => MADocument.mm} | 0 Medianno/{MAFolder.m => MAFolder.mm} | 0 Medianno/{MAMedia.m => MAMedia.mm} | 0 Medianno/{MATag.m => MATag.mm} | 0 ...MATagDescription.m => MATagDescription.mm} | 0 7 files changed, 24 insertions(+), 24 deletions(-) rename Medianno/{MAAnno.m => MAAnno.mm} (100%) rename Medianno/{MADocument.m => MADocument.mm} (100%) rename Medianno/{MAFolder.m => MAFolder.mm} (100%) rename Medianno/{MAMedia.m => MAMedia.mm} (100%) rename Medianno/{MATag.m => MATag.mm} (100%) rename Medianno/{MATagDescription.m => MATagDescription.mm} (100%) diff --git a/Medianno.xcodeproj/project.pbxproj b/Medianno.xcodeproj/project.pbxproj index cf369b3..c72de39 100644 --- a/Medianno.xcodeproj/project.pbxproj +++ b/Medianno.xcodeproj/project.pbxproj @@ -11,17 +11,17 @@ 950BB67513F1F26200D8E669 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 950BB67313F1F26200D8E669 /* InfoPlist.strings */; }; 950BB67713F1F26200D8E669 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 950BB67613F1F26200D8E669 /* main.m */; }; 950BB67B13F1F26200D8E669 /* Credits.rtf in Resources */ = {isa = PBXBuildFile; fileRef = 950BB67913F1F26200D8E669 /* Credits.rtf */; }; - 950BB67E13F1F26200D8E669 /* MADocument.m in Sources */ = {isa = PBXBuildFile; fileRef = 950BB67D13F1F26200D8E669 /* MADocument.m */; }; + 950BB67E13F1F26200D8E669 /* MADocument.mm in Sources */ = {isa = PBXBuildFile; fileRef = 950BB67D13F1F26200D8E669 /* MADocument.mm */; }; 950BB68113F1F26200D8E669 /* MADocument.xib in Resources */ = {isa = PBXBuildFile; fileRef = 950BB67F13F1F26200D8E669 /* MADocument.xib */; }; 950BB68413F1F26200D8E669 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 950BB68213F1F26200D8E669 /* MainMenu.xib */; }; 950BB68713F1F26200D8E669 /* MADocument.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 950BB68513F1F26200D8E669 /* MADocument.xcdatamodeld */; }; 950BB68F13F1F29D00D8E669 /* CoreData.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 950BB68D13F1F29D00D8E669 /* CoreData.framework */; }; 950BB69013F1F29D00D8E669 /* QTKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 950BB68E13F1F29D00D8E669 /* QTKit.framework */; }; - 950BB69713F2C6B300D8E669 /* MAFolder.m in Sources */ = {isa = PBXBuildFile; fileRef = 950BB69613F2C6B300D8E669 /* MAFolder.m */; }; - 950BB69A13F2C6B400D8E669 /* MATag.m in Sources */ = {isa = PBXBuildFile; fileRef = 950BB69913F2C6B400D8E669 /* MATag.m */; }; - 950BB69D13F2C6B400D8E669 /* MAAnno.m in Sources */ = {isa = PBXBuildFile; fileRef = 950BB69C13F2C6B400D8E669 /* MAAnno.m */; }; - 950BB6A013F2C6B400D8E669 /* MAMedia.m in Sources */ = {isa = PBXBuildFile; fileRef = 950BB69F13F2C6B400D8E669 /* MAMedia.m */; }; - 950BB6A313F2C6B400D8E669 /* MATagDescription.m in Sources */ = {isa = PBXBuildFile; fileRef = 950BB6A213F2C6B400D8E669 /* MATagDescription.m */; }; + 950BB69713F2C6B300D8E669 /* MAFolder.mm in Sources */ = {isa = PBXBuildFile; fileRef = 950BB69613F2C6B300D8E669 /* MAFolder.mm */; }; + 950BB69A13F2C6B400D8E669 /* MATag.mm in Sources */ = {isa = PBXBuildFile; fileRef = 950BB69913F2C6B400D8E669 /* MATag.mm */; }; + 950BB69D13F2C6B400D8E669 /* MAAnno.mm in Sources */ = {isa = PBXBuildFile; fileRef = 950BB69C13F2C6B400D8E669 /* MAAnno.mm */; }; + 950BB6A013F2C6B400D8E669 /* MAMedia.mm in Sources */ = {isa = PBXBuildFile; fileRef = 950BB69F13F2C6B400D8E669 /* MAMedia.mm */; }; + 950BB6A313F2C6B400D8E669 /* MATagDescription.mm in Sources */ = {isa = PBXBuildFile; fileRef = 950BB6A213F2C6B400D8E669 /* MATagDescription.mm */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -33,22 +33,22 @@ 950BB67813F1F26200D8E669 /* Medianno-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Medianno-Prefix.pch"; sourceTree = ""; }; 950BB67A13F1F26200D8E669 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = en; path = en.lproj/Credits.rtf; sourceTree = ""; }; 950BB67C13F1F26200D8E669 /* MADocument.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MADocument.h; sourceTree = ""; }; - 950BB67D13F1F26200D8E669 /* MADocument.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MADocument.m; sourceTree = ""; }; + 950BB67D13F1F26200D8E669 /* MADocument.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = MADocument.mm; sourceTree = ""; }; 950BB68013F1F26200D8E669 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MADocument.xib; sourceTree = ""; }; 950BB68313F1F26200D8E669 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/MainMenu.xib; sourceTree = ""; }; 950BB68613F1F26200D8E669 /* MADocument.xcdatamodel */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcdatamodel; path = MADocument.xcdatamodel; sourceTree = ""; }; 950BB68D13F1F29D00D8E669 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = System/Library/Frameworks/CoreData.framework; sourceTree = SDKROOT; }; 950BB68E13F1F29D00D8E669 /* QTKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QTKit.framework; path = System/Library/Frameworks/QTKit.framework; sourceTree = SDKROOT; }; 950BB69513F2C6B300D8E669 /* MAFolder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MAFolder.h; sourceTree = ""; }; - 950BB69613F2C6B300D8E669 /* MAFolder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MAFolder.m; sourceTree = ""; }; + 950BB69613F2C6B300D8E669 /* MAFolder.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MAFolder.mm; sourceTree = ""; }; 950BB69813F2C6B400D8E669 /* MATag.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MATag.h; sourceTree = ""; }; - 950BB69913F2C6B400D8E669 /* MATag.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MATag.m; sourceTree = ""; }; + 950BB69913F2C6B400D8E669 /* MATag.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MATag.mm; sourceTree = ""; }; 950BB69B13F2C6B400D8E669 /* MAAnno.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MAAnno.h; sourceTree = ""; }; - 950BB69C13F2C6B400D8E669 /* MAAnno.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MAAnno.m; sourceTree = ""; }; + 950BB69C13F2C6B400D8E669 /* MAAnno.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MAAnno.mm; sourceTree = ""; }; 950BB69E13F2C6B400D8E669 /* MAMedia.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MAMedia.h; sourceTree = ""; }; - 950BB69F13F2C6B400D8E669 /* MAMedia.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MAMedia.m; sourceTree = ""; }; + 950BB69F13F2C6B400D8E669 /* MAMedia.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MAMedia.mm; sourceTree = ""; }; 950BB6A113F2C6B400D8E669 /* MATagDescription.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MATagDescription.h; sourceTree = ""; }; - 950BB6A213F2C6B400D8E669 /* MATagDescription.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MATagDescription.m; sourceTree = ""; }; + 950BB6A213F2C6B400D8E669 /* MATagDescription.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MATagDescription.mm; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -96,17 +96,17 @@ isa = PBXGroup; children = ( 950BB67C13F1F26200D8E669 /* MADocument.h */, - 950BB67D13F1F26200D8E669 /* MADocument.m */, + 950BB67D13F1F26200D8E669 /* MADocument.mm */, 950BB6A113F2C6B400D8E669 /* MATagDescription.h */, - 950BB6A213F2C6B400D8E669 /* MATagDescription.m */, + 950BB6A213F2C6B400D8E669 /* MATagDescription.mm */, 950BB69E13F2C6B400D8E669 /* MAMedia.h */, - 950BB69F13F2C6B400D8E669 /* MAMedia.m */, + 950BB69F13F2C6B400D8E669 /* MAMedia.mm */, 950BB69B13F2C6B400D8E669 /* MAAnno.h */, - 950BB69C13F2C6B400D8E669 /* MAAnno.m */, + 950BB69C13F2C6B400D8E669 /* MAAnno.mm */, 950BB69813F2C6B400D8E669 /* MATag.h */, - 950BB69913F2C6B400D8E669 /* MATag.m */, + 950BB69913F2C6B400D8E669 /* MATag.mm */, 950BB69513F2C6B300D8E669 /* MAFolder.h */, - 950BB69613F2C6B300D8E669 /* MAFolder.m */, + 950BB69613F2C6B300D8E669 /* MAFolder.mm */, 950BB67F13F1F26200D8E669 /* MADocument.xib */, 950BB68213F1F26200D8E669 /* MainMenu.xib */, 950BB68513F1F26200D8E669 /* MADocument.xcdatamodeld */, @@ -192,13 +192,13 @@ buildActionMask = 2147483647; files = ( 950BB67713F1F26200D8E669 /* main.m in Sources */, - 950BB67E13F1F26200D8E669 /* MADocument.m in Sources */, + 950BB67E13F1F26200D8E669 /* MADocument.mm in Sources */, 950BB68713F1F26200D8E669 /* MADocument.xcdatamodeld in Sources */, - 950BB69713F2C6B300D8E669 /* MAFolder.m in Sources */, - 950BB69A13F2C6B400D8E669 /* MATag.m in Sources */, - 950BB69D13F2C6B400D8E669 /* MAAnno.m in Sources */, - 950BB6A013F2C6B400D8E669 /* MAMedia.m in Sources */, - 950BB6A313F2C6B400D8E669 /* MATagDescription.m in Sources */, + 950BB69713F2C6B300D8E669 /* MAFolder.mm in Sources */, + 950BB69A13F2C6B400D8E669 /* MATag.mm in Sources */, + 950BB69D13F2C6B400D8E669 /* MAAnno.mm in Sources */, + 950BB6A013F2C6B400D8E669 /* MAMedia.mm in Sources */, + 950BB6A313F2C6B400D8E669 /* MATagDescription.mm in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Medianno/MAAnno.m b/Medianno/MAAnno.mm similarity index 100% rename from Medianno/MAAnno.m rename to Medianno/MAAnno.mm diff --git a/Medianno/MADocument.m b/Medianno/MADocument.mm similarity index 100% rename from Medianno/MADocument.m rename to Medianno/MADocument.mm diff --git a/Medianno/MAFolder.m b/Medianno/MAFolder.mm similarity index 100% rename from Medianno/MAFolder.m rename to Medianno/MAFolder.mm diff --git a/Medianno/MAMedia.m b/Medianno/MAMedia.mm similarity index 100% rename from Medianno/MAMedia.m rename to Medianno/MAMedia.mm diff --git a/Medianno/MATag.m b/Medianno/MATag.mm similarity index 100% rename from Medianno/MATag.m rename to Medianno/MATag.mm diff --git a/Medianno/MATagDescription.m b/Medianno/MATagDescription.mm similarity index 100% rename from Medianno/MATagDescription.m rename to Medianno/MATagDescription.mm