forked from mono/monotouch-bindings
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated red laser version. Added Mtiks.
- Loading branch information
Showing
6 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters