Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add AVFoundation to MonoMac

  • Loading branch information...
commit f3275281dbb737c8d899725810fa608deddf8297 1 parent 7c03bdf
@migueldeicaza migueldeicaza authored
Showing with 14 additions and 2 deletions.
  1. +3 −1 src/Constants.cs
  2. +9 −0 src/Make.shared
  3. +2 −1  src/Makefile
View
4 src/Constants.cs
@@ -1,5 +1,6 @@
//
// Copyright 2010, Novell, Inc.
+// Copyright 2011, 2012 Xamarin Inc
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
@@ -53,6 +54,7 @@ public static partial class Constants {
public const string CoreImageLibrary = "/System/Library/Frameworks/CoreImage.framework/CoreImage";
public const string CFNetworkLibrary = "/System/Library/Frameworks/CoreServices.framework/Frameworks/CFNetwork.framework/CFNetwork";
public const string CoreMidiLibrary = "/System/Library/Frameworks/CoreMIDI.framework/CoreMIDI";
- public const string QuickLookLibrary = "/System/Library//Frameworks/QuickLook.framework/QuickLook";
+ public const string QuickLookLibrary = "/System/Library/Frameworks/QuickLook.framework/QuickLook";
+ public const string AVFoundationLibrary = "/System/Library/Frameworks/AVFoundation.framework/AVFoundation";
}
}
View
9 src/Make.shared
@@ -28,6 +28,14 @@ SHARED_SOURCE = \
./AddressBook/ABPerson.cs \
./AddressBook/ABRecord.cs \
./AddressBook/ABSource.cs \
+ ./AVFoundation/Events.cs \
+ ./AVFoundation/AVAudioPlayer.cs \
+ ./AVFoundation/AVAudioRecorder.cs \
+ ./AVFoundation/AVAudioSession.cs \
+ ./AVFoundation/AVCaptureConnection.cs \
+ ./AVFoundation/AVCaptureDeviceInput.cs \
+ ./AVFoundation/AVCaptureVideoDataOutput.cs \
+ ./AVFoundation/AVAssetReaderVideoCompositionOutput.cs \
./CoreAnimation/CADefs.cs \
./CoreAnimation/CALayer.cs \
./CoreAnimation/CATextLayer.cs \
@@ -117,6 +125,7 @@ SHARED_SOURCE = \
./Security/Trust.cs
SHARED_CORE_SOURCE = \
+ ./AVFoundation/Enums.cs \
./CoreAnimation/CATransform3D.cs \
./CoreAnimation/CAEnums.cs \
./CoreData/Enums.cs \
View
3  src/Makefile
@@ -128,6 +128,7 @@ TARGETS = _bmac.exe MonoMac.dll parse.exe bmac.exe
include Make.shared
SHARED_API = \
+ ./avfoundation.cs \
./foundation.cs \
./coreanimation.cs \
./coredata.cs \
@@ -197,4 +198,4 @@ push-to-monodevelop: MonoMac.dll
# Pushes the assembly to the system MonoDevelop, for testing
#
upgrade-monodevelop: MonoMac.dll
- cp MonoMac.dll* /Applications/MonoDevelop.app/Contents/MacOS//lib/monodevelop/AddIns/MonoDevelop.MonoMac/
+ cp MonoMac.dll* /Applications/MonoDevelop.app/Contents/MacOS//lib/monodevelop/AddIns/MonoDevelop.MonoMac/
Please sign in to comment.
Something went wrong with that request. Please try again.