diff options
| author | Teddy Wing | 2012-04-25 23:28:21 -0400 |
|---|---|---|
| committer | Teddy Wing | 2012-04-25 23:28:21 -0400 |
| commit | d8ee19b6c2807322227c58019c7677ae73ae8638 (patch) | |
| tree | 8a7701a76c6f992d7542727e75b0615a7316ed43 | |
| parent | e9463eded67de701f9c3b9d0d794ca09ca913d75 (diff) | |
| download | Video-Tuneup-d8ee19b6c2807322227c58019c7677ae73ae8638.tar.bz2 | |
Added WebserviceCommunicator class to send a music file up to the Stewardess webservice and get a file back.
TODO: replace 'void' with a file or file_path
| -rw-r--r-- | Video Tuneup.xcodeproj/project.pbxproj | 6 | ||||
| -rw-r--r-- | Video Tuneup/Classes/WebserviceCommunicator.h | 15 | ||||
| -rw-r--r-- | Video Tuneup/Classes/WebserviceCommunicator.m | 17 |
3 files changed, 38 insertions, 0 deletions
diff --git a/Video Tuneup.xcodeproj/project.pbxproj b/Video Tuneup.xcodeproj/project.pbxproj index 74eb038..3cf1867 100644 --- a/Video Tuneup.xcodeproj/project.pbxproj +++ b/Video Tuneup.xcodeproj/project.pbxproj @@ -8,6 +8,7 @@ /* Begin PBXBuildFile section */ D19C74771547289A006E4122 /* AssetsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = D19C74761547289A006E4122 /* AssetsViewController.m */; }; + D1A3079F1548F71C00FA4A94 /* WebserviceCommunicator.m in Sources */ = {isa = PBXBuildFile; fileRef = D1A3079E1548F71C00FA4A94 /* WebserviceCommunicator.m */; }; D3531C9C1523B7BB00E286B8 /* SimpleEditor.m in Sources */ = {isa = PBXBuildFile; fileRef = D3531C9B1523B7BB00E286B8 /* SimpleEditor.m */; }; D3531CA01523B8DA00E286B8 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D3531C9F1523B8DA00E286B8 /* QuartzCore.framework */; }; D3531CA21523BE2900E286B8 /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D3531CA11523BE2900E286B8 /* AssetsLibrary.framework */; }; @@ -52,6 +53,8 @@ /* Begin PBXFileReference section */ D19C74751547289A006E4122 /* AssetsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AssetsViewController.h; path = Classes/AssetsViewController.h; sourceTree = "<group>"; }; D19C74761547289A006E4122 /* AssetsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AssetsViewController.m; path = Classes/AssetsViewController.m; sourceTree = "<group>"; }; + D1A3079D1548F71C00FA4A94 /* WebserviceCommunicator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebserviceCommunicator.h; path = Classes/WebserviceCommunicator.h; sourceTree = "<group>"; }; + D1A3079E1548F71C00FA4A94 /* WebserviceCommunicator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = WebserviceCommunicator.m; path = Classes/WebserviceCommunicator.m; sourceTree = "<group>"; }; D3531C9A1523B7BB00E286B8 /* SimpleEditor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimpleEditor.h; sourceTree = "<group>"; }; D3531C9B1523B7BB00E286B8 /* SimpleEditor.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SimpleEditor.m; sourceTree = "<group>"; }; D3531C9D1523B89200E286B8 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; }; @@ -166,6 +169,8 @@ D3531C9A1523B7BB00E286B8 /* SimpleEditor.h */, D3531C9B1523B7BB00E286B8 /* SimpleEditor.m */, D36CCD4515227D06003CCAFC /* AppDelegate.m */, + D1A3079D1548F71C00FA4A94 /* WebserviceCommunicator.h */, + D1A3079E1548F71C00FA4A94 /* WebserviceCommunicator.m */, D36CCD7615228B04003CCAFC /* Controllers */, D36CCD7515228ADC003CCAFC /* Views */, D36CCD4A15227D06003CCAFC /* ViewController_iPhone.xib */, @@ -360,6 +365,7 @@ D36CCD7415228ACE003CCAFC /* PlayerView.m in Sources */, D3531C9C1523B7BB00E286B8 /* SimpleEditor.m in Sources */, D19C74771547289A006E4122 /* AssetsViewController.m in Sources */, + D1A3079F1548F71C00FA4A94 /* WebserviceCommunicator.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/Video Tuneup/Classes/WebserviceCommunicator.h b/Video Tuneup/Classes/WebserviceCommunicator.h new file mode 100644 index 0000000..cd11626 --- /dev/null +++ b/Video Tuneup/Classes/WebserviceCommunicator.h @@ -0,0 +1,15 @@ +// +// WebserviceCommunicator.h +// Video Tuneup +// +// Created by tw on 4/25/12. +// Copyright (c) 2012 __MyCompanyName__. All rights reserved. +// + +#import <Foundation/Foundation.h> + +@interface WebserviceCommunicator : NSObject + +-(void)mixMusic:(NSURL *)file; + +@end diff --git a/Video Tuneup/Classes/WebserviceCommunicator.m b/Video Tuneup/Classes/WebserviceCommunicator.m new file mode 100644 index 0000000..fede3d5 --- /dev/null +++ b/Video Tuneup/Classes/WebserviceCommunicator.m @@ -0,0 +1,17 @@ +// +// WebserviceCommunicator.m +// Video Tuneup +// +// Created by tw on 4/25/12. +// Copyright (c) 2012 __MyCompanyName__. All rights reserved. +// + +#import "WebserviceCommunicator.h" + +@implementation WebserviceCommunicator + +-(void)mixMusic:(NSURL *)file { + +} + +@end |
