Skip to content

Commit

Permalink
Updated red laser version. Added Mtiks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Clancey committed May 3, 2012
1 parent 9bd555e commit 91b537b
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 2 deletions.
1 change: 1 addition & 0 deletions MMSDK/README
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ Requirements:

Full documentation and integration instructions are available at:
http://wiki.millennialmedia.com/index.php/IOS_SDK
Interactive Innovative Solutions LLC
4 changes: 4 additions & 0 deletions MTIKS/binding/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
using System;
using MonoTouch.ObjCRuntime;

[assembly: LinkWith ("libmTiks.a", LinkTarget.Simulator | LinkTarget.ArmV6 | LinkTarget.ArmV7, ForceLoad = true)]
29 changes: 29 additions & 0 deletions MTIKS/binding/MTIKS.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

using System;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using System.Drawing;
using MonoTouch.CoreLocation;
namespace MTIKS{
[BaseType (typeof (NSObject))]
interface mtiks {
[Static]
[Export ("sharedSession")]
mtiks SharedSession{get;}

[Export ("getVersion")]
string GetVersion ();

[Export ("start:")]
void Start (string strAppKey);

[Export ("stop")]
void Stop ();

[Export ("postEvent:")]
void PostEvent (string eventName);

[Export ("postEvent:withAttributes:")]
void PostEventwithAttributes (string eventName, NSDictionary attribs);
}
}
9 changes: 9 additions & 0 deletions MTIKS/binding/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
BTOUCH=/Developer/MonoTouch/usr/bin/btouch
VERSION=1.0
all: mtiks.dll

mtiks.dll: Makefile AssemblyInfo.cs MTIKS.cs libmTiks.a
$(BTOUCH) -e MTIKS.cs AssemblyInfo.cs --out=$@ --link-with=libmTiks.a,libmTiks.a

clean:
-rm -f *.a *.dll
Binary file added MTIKS/binding/mtiks.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions RedLaser/binding/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BTOUCH=/Developer/MonoTouch/usr/bin/btouch
BUILDVER=build139
VERSION=3.2.4
BUILDVER=build154
VERSION=3.3.0

all: RedLaser.dll

Expand Down

0 comments on commit 91b537b

Please sign in to comment.