Browse Source

Initial Commit

Douglas Heriot 11 years ago
commit
f8706df6ae
4 changed files with 351 additions and 0 deletions
  1. 243 0
      DHSendMIDI.xcodeproj/project.pbxproj
  2. 7 0
      DHSendMIDI/DHSendMIDI-Prefix.pch
  3. 79 0
      DHSendMIDI/DHSendMIDI.1
  4. 22 0
      DHSendMIDI/main.m

+ 243 - 0
DHSendMIDI.xcodeproj/project.pbxproj

@@ -0,0 +1,243 @@
+// !$*UTF8*$!
+{
+	archiveVersion = 1;
+	classes = {
+	};
+	objectVersion = 46;
+	objects = {
+
+/* Begin PBXBuildFile section */
+		A513A69816AF2F47000DF615 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A513A69716AF2F47000DF615 /* Foundation.framework */; };
+		A513A69B16AF2F47000DF615 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = A513A69A16AF2F47000DF615 /* main.m */; };
+		A513A69F16AF2F47000DF615 /* DHSendMIDI.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = A513A69E16AF2F47000DF615 /* DHSendMIDI.1 */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+		A513A69116AF2F47000DF615 /* CopyFiles */ = {
+			isa = PBXCopyFilesBuildPhase;
+			buildActionMask = 2147483647;
+			dstPath = /usr/share/man/man1/;
+			dstSubfolderSpec = 0;
+			files = (
+				A513A69F16AF2F47000DF615 /* DHSendMIDI.1 in CopyFiles */,
+			);
+			runOnlyForDeploymentPostprocessing = 1;
+		};
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+		A513A69316AF2F47000DF615 /* DHSendMIDI */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = DHSendMIDI; sourceTree = BUILT_PRODUCTS_DIR; };
+		A513A69716AF2F47000DF615 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+		A513A69A16AF2F47000DF615 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+		A513A69D16AF2F47000DF615 /* DHSendMIDI-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "DHSendMIDI-Prefix.pch"; sourceTree = "<group>"; };
+		A513A69E16AF2F47000DF615 /* DHSendMIDI.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = DHSendMIDI.1; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+		A513A69016AF2F47000DF615 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				A513A69816AF2F47000DF615 /* Foundation.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+		A513A68816AF2F47000DF615 = {
+			isa = PBXGroup;
+			children = (
+				A513A69916AF2F47000DF615 /* DHSendMIDI */,
+				A513A69616AF2F47000DF615 /* Frameworks */,
+				A513A69416AF2F47000DF615 /* Products */,
+			);
+			sourceTree = "<group>";
+		};
+		A513A69416AF2F47000DF615 /* Products */ = {
+			isa = PBXGroup;
+			children = (
+				A513A69316AF2F47000DF615 /* DHSendMIDI */,
+			);
+			name = Products;
+			sourceTree = "<group>";
+		};
+		A513A69616AF2F47000DF615 /* Frameworks */ = {
+			isa = PBXGroup;
+			children = (
+				A513A69716AF2F47000DF615 /* Foundation.framework */,
+			);
+			name = Frameworks;
+			sourceTree = "<group>";
+		};
+		A513A69916AF2F47000DF615 /* DHSendMIDI */ = {
+			isa = PBXGroup;
+			children = (
+				A513A69A16AF2F47000DF615 /* main.m */,
+				A513A69E16AF2F47000DF615 /* DHSendMIDI.1 */,
+				A513A69C16AF2F47000DF615 /* Supporting Files */,
+			);
+			path = DHSendMIDI;
+			sourceTree = "<group>";
+		};
+		A513A69C16AF2F47000DF615 /* Supporting Files */ = {
+			isa = PBXGroup;
+			children = (
+				A513A69D16AF2F47000DF615 /* DHSendMIDI-Prefix.pch */,
+			);
+			name = "Supporting Files";
+			sourceTree = "<group>";
+		};
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+		A513A69216AF2F47000DF615 /* DHSendMIDI */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = A513A6A216AF2F47000DF615 /* Build configuration list for PBXNativeTarget "DHSendMIDI" */;
+			buildPhases = (
+				A513A68F16AF2F47000DF615 /* Sources */,
+				A513A69016AF2F47000DF615 /* Frameworks */,
+				A513A69116AF2F47000DF615 /* CopyFiles */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+			);
+			name = DHSendMIDI;
+			productName = DHSendMIDI;
+			productReference = A513A69316AF2F47000DF615 /* DHSendMIDI */;
+			productType = "com.apple.product-type.tool";
+		};
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+		A513A68A16AF2F47000DF615 /* Project object */ = {
+			isa = PBXProject;
+			attributes = {
+				LastUpgradeCheck = 0450;
+				ORGANIZATIONNAME = "Douglas Heriot";
+			};
+			buildConfigurationList = A513A68D16AF2F47000DF615 /* Build configuration list for PBXProject "DHSendMIDI" */;
+			compatibilityVersion = "Xcode 3.2";
+			developmentRegion = English;
+			hasScannedForEncodings = 0;
+			knownRegions = (
+				en,
+			);
+			mainGroup = A513A68816AF2F47000DF615;
+			productRefGroup = A513A69416AF2F47000DF615 /* Products */;
+			projectDirPath = "";
+			projectRoot = "";
+			targets = (
+				A513A69216AF2F47000DF615 /* DHSendMIDI */,
+			);
+		};
+/* End PBXProject section */
+
+/* Begin PBXSourcesBuildPhase section */
+		A513A68F16AF2F47000DF615 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				A513A69B16AF2F47000DF615 /* main.m in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+		A513A6A016AF2F47000DF615 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				COPY_PHASE_STRIP = NO;
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_DYNAMIC_NO_PIC = NO;
+				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+				GCC_OPTIMIZATION_LEVEL = 0;
+				GCC_PREPROCESSOR_DEFINITIONS = (
+					"DEBUG=1",
+					"$(inherited)",
+				);
+				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				MACOSX_DEPLOYMENT_TARGET = 10.8;
+				ONLY_ACTIVE_ARCH = YES;
+				SDKROOT = macosx;
+			};
+			name = Debug;
+		};
+		A513A6A116AF2F47000DF615 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				ALWAYS_SEARCH_USER_PATHS = NO;
+				ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
+				CLANG_CXX_LIBRARY = "libc++";
+				CLANG_ENABLE_OBJC_ARC = YES;
+				CLANG_WARN_EMPTY_BODY = YES;
+				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+				COPY_PHASE_STRIP = YES;
+				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+				GCC_C_LANGUAGE_STANDARD = gnu99;
+				GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+				GCC_WARN_ABOUT_RETURN_TYPE = YES;
+				GCC_WARN_UNINITIALIZED_AUTOS = YES;
+				GCC_WARN_UNUSED_VARIABLE = YES;
+				MACOSX_DEPLOYMENT_TARGET = 10.8;
+				SDKROOT = macosx;
+			};
+			name = Release;
+		};
+		A513A6A316AF2F47000DF615 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				GCC_PRECOMPILE_PREFIX_HEADER = YES;
+				GCC_PREFIX_HEADER = "DHSendMIDI/DHSendMIDI-Prefix.pch";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+			};
+			name = Debug;
+		};
+		A513A6A416AF2F47000DF615 /* Release */ = {
+			isa = XCBuildConfiguration;
+			buildSettings = {
+				GCC_PRECOMPILE_PREFIX_HEADER = YES;
+				GCC_PREFIX_HEADER = "DHSendMIDI/DHSendMIDI-Prefix.pch";
+				PRODUCT_NAME = "$(TARGET_NAME)";
+			};
+			name = Release;
+		};
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+		A513A68D16AF2F47000DF615 /* Build configuration list for PBXProject "DHSendMIDI" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				A513A6A016AF2F47000DF615 /* Debug */,
+				A513A6A116AF2F47000DF615 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Release;
+		};
+		A513A6A216AF2F47000DF615 /* Build configuration list for PBXNativeTarget "DHSendMIDI" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				A513A6A316AF2F47000DF615 /* Debug */,
+				A513A6A416AF2F47000DF615 /* Release */,
+			);
+			defaultConfigurationIsVisible = 0;
+		};
+/* End XCConfigurationList section */
+	};
+	rootObject = A513A68A16AF2F47000DF615 /* Project object */;
+}

+ 7 - 0
DHSendMIDI/DHSendMIDI-Prefix.pch

@@ -0,0 +1,7 @@
+//
+// Prefix header for all source files of the 'DHSendMIDI' target in the 'DHSendMIDI' project
+//
+
+#ifdef __OBJC__
+	#import <Foundation/Foundation.h>
+#endif

+ 79 - 0
DHSendMIDI/DHSendMIDI.1

@@ -0,0 +1,79 @@
+.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples.
+.\"See Also:
+.\"man mdoc.samples for a complete listing of options
+.\"man mdoc for the short list of editing options
+.\"/usr/share/misc/mdoc.template
+.Dd 23/01/13               \" DATE 
+.Dt DHSendMIDI 1      \" Program name and manual section number 
+.Os Darwin
+.Sh NAME                 \" Section Header - required - don't modify 
+.Nm DHSendMIDI,
+.\" The following lines are read in generating the apropos(man -k) database. Use only key
+.\" words here as the database is built based on the words here and in the .ND line. 
+.Nm Other_name_for_same_program(),
+.Nm Yet another name for the same program.
+.\" Use .Nm macro to designate other names for the documented program.
+.Nd This line parsed for whatis database.
+.Sh SYNOPSIS             \" Section Header - required - don't modify
+.Nm
+.Op Fl abcd              \" [-abcd]
+.Op Fl a Ar path         \" [-a path] 
+.Op Ar file              \" [file]
+.Op Ar                   \" [file ...]
+.Ar arg0                 \" Underlined argument - use .Ar anywhere to underline
+arg2 ...                 \" Arguments
+.Sh DESCRIPTION          \" Section Header - required - don't modify
+Use the .Nm macro to refer to your program throughout the man page like such:
+.Nm
+Underlining is accomplished with the .Ar macro like this:
+.Ar underlined text .
+.Pp                      \" Inserts a space
+A list of items with descriptions:
+.Bl -tag -width -indent  \" Begins a tagged list 
+.It item a               \" Each item preceded by .It macro
+Description of item a
+.It item b
+Description of item b
+.El                      \" Ends the list
+.Pp
+A list of flags and their descriptions:
+.Bl -tag -width -indent  \" Differs from above in tag removed 
+.It Fl a                 \"-a flag as a list item
+Description of -a flag
+.It Fl b
+Description of -b flag
+.El                      \" Ends the list
+.Pp
+.\" .Sh ENVIRONMENT      \" May not be needed
+.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1
+.\" .It Ev ENV_VAR_1
+.\" Description of ENV_VAR_1
+.\" .It Ev ENV_VAR_2
+.\" Description of ENV_VAR_2
+.\" .El                      
+.Sh FILES                \" File used or created by the topic of the man page
+.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact
+.It Pa /usr/share/file_name
+FILE_1 description
+.It Pa /Users/joeuser/Library/really_long_file_name
+FILE_2 description
+.El                      \" Ends the list
+.\" .Sh DIAGNOSTICS       \" May not be needed
+.\" .Bl -diag
+.\" .It Diagnostic Tag
+.\" Diagnostic informtion here.
+.\" .It Diagnostic Tag
+.\" Diagnostic informtion here.
+.\" .El
+.Sh SEE ALSO 
+.\" List links in ascending order by section, alphabetically within a section.
+.\" Please do not reference files that do not exist without filing a bug report
+.Xr a 1 , 
+.Xr b 1 ,
+.Xr c 1 ,
+.Xr a 2 ,
+.Xr b 2 ,
+.Xr a 3 ,
+.Xr b 3 
+.\" .Sh BUGS              \" Document known, unremedied bugs 
+.\" .Sh HISTORY           \" Document history if command behaves in a unique manner

+ 22 - 0
DHSendMIDI/main.m

@@ -0,0 +1,22 @@
+//
+//  main.m
+//  DHSendMIDI
+//
+//  Created by Douglas Heriot on 23/01/13.
+//  Copyright (c) 2013 Douglas Heriot. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+int main(int argc, const char * argv[])
+{
+
+	@autoreleasepool {
+	    
+	    // insert code here...
+	    NSLog(@"Hello, World!");
+	    
+	}
+    return 0;
+}
+