Skip to content

Commit

Permalink
Initial OSS dump of Windows Bridge for iOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdrlamb-ms committed Aug 5, 2015
0 parents commit 59acb59
Show file tree
Hide file tree
Showing 13,137 changed files with 6,707,463 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*.opensdf
*.sdf
*.suo
ipch
Debug
Release
Generated
Generated Files
Doxygen
AppPackages
Packages.dgml
packages
bin
.nuget

27 changes: 27 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[submodule "tools/vsimporter/third-party/PlistCpp"]
path = tools/vsimporter/third-party/PlistCpp
url = https://github.com/Microsoft/PlistCpp.git
[submodule "tools/vsimporter/third-party/sole"]
path = tools/vsimporter/third-party/sole
url = https://github.com/r-lyeh/sole.git
[submodule "deps/3rdparty/curl"]
path = deps/3rdparty/curl
url = https://github.com/bagder/curl.git
[submodule "deps/3rdparty/openssl"]
path = deps/3rdparty/openssl
url = https://github.com/microsoft/openssl
[submodule "deps/3rdparty/zlib"]
path = deps/3rdparty/zlib
url = https://github.com/madler/zlib
[submodule "deps/3rdparty/libpng"]
path = deps/3rdparty/libpng
url = git://git.code.sf.net/p/libpng/code
[submodule "deps/3rdparty/freetype2"]
path = deps/3rdparty/freetype2
url = git://git.sv.nongnu.org/freetype/freetype2.git
[submodule "deps/3rdparty/pixman"]
path = deps/3rdparty/pixman
url = git://anongit.freedesktop.org/pixman
[submodule "deps/3rdparty/cairo"]
path = deps/3rdparty/cairo
url = git://anongit.freedesktop.org/git/cairo
22 changes: 22 additions & 0 deletions Frameworks/AVFoundation/AVAudioConstants.mm
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
//******************************************************************************

#import <AVFoundation/AVFoundation.h>

extern "C" NSString * const AVAudioSessionCategoryAmbient = (NSString * const) @"AVAudioSessionCategoryAmbient";
extern "C" NSString * const AVAudioSessionCategoryPlayback = (NSString * const) @"AVAudioSessionCategoryPlayback";
extern "C" NSString * const AVAudioSessionCategoryPlayAndRecord = (NSString * const) @"AVAudioSessionCategoryPlayAndRecord";
extern "C" NSString * const AVAudioSessionCategorySoloAmbient = (NSString * const) @"AVAudioSessionCategorySoloAmbient";
44 changes: 44 additions & 0 deletions Frameworks/AVFoundation/AVAudioPlayer.mm
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
//******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
//******************************************************************************

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@implementation AVAudioPlayer : NSObject
@synthesize delegate;
@synthesize numberOfLoops;
@synthesize volume;

- (id)initWithContentsOfURL:(NSURL *)url error:(NSError **)outError
{
if ( outError ) *outError = [NSError errorWithDomain: @"AVAudioPlayer" code: 100 userInfo: nil];
return nil;
}

- (id)initWithData:(NSData *)data error:(NSError **)outError
{
if ( outError ) *outError = [NSError errorWithDomain: @"AVAudioPlayer" code: 100 userInfo: nil];
return nil;
}
@end

@implementation AVAudioSession
+(AVAudioSession *) sharedInstance
{
return nil;
}
@end

42 changes: 42 additions & 0 deletions Frameworks/AVFoundation/AudioSession.mm
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
//******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
//******************************************************************************

#import <AVFoundation/AVFoundation.h>

void AudioServicesPlaySystemSound(SystemSoundID soundID)
{
}

OSStatus AudioSessionGetProperty(AudioSessionPropertyID id, UInt32 *dataSize, void *outData)
{
return 100;
}

OSStatus AudioSessionSetActive(Boolean active)
{
return 100;
}

OSStatus AudioSessionInitialize(CFRunLoopRef inRunLoop, CFStringRef inRunLoopMode, AudioSessionInterruptionListener inInterruptionListener, void *inClientData)
{
return 100;
}

OSStatus AudioSessionSetProperty(AudioSessionPropertyID inID, UInt32 inDataSize, const void *inData)
{
return 100;
}

Loading

0 comments on commit 59acb59

Please sign in to comment.