Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Commit

Permalink
[DropBoxSync] Updated to version 1.0.8, and added support for iOS 5 o…
Browse files Browse the repository at this point in the history
…n sample
  • Loading branch information
dalexsoto committed May 20, 2013
1 parent c487757 commit 85c953c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Expand Up @@ -8,7 +8,7 @@ CLEAN.include "binding/*.dll"
CLEAN.include "binding/bin"
CLEAN.include "binding/obj"

COMPONENT = "dropboxsync-1.0.6.xam"
COMPONENT = "dropboxsync-1.0.8.xam"
MONOXBUILD = "/Library/Frameworks/Mono.framework/Commands/xbuild"

file "xpkg/xpkg.exe" do
Expand All @@ -20,7 +20,7 @@ file "xpkg/xpkg.exe" do
end

file "binding/DropBoxSync.iOS.dll" do
sh "curl -L 'https://dl.dropbox.com/shz/uf0zf9qary2vag6/sLPJpFD120/Dropbox.framework/Dropbox.framework?token_hash=AAFL7mNbTi_ABTo7c6aHCiFHYUUDD53W5macXwNSWWbmpg&top_level_offset=41&dl=1' > binding/DropBoxSync.zip"
sh "curl -L 'https://dl.dropboxusercontent.com/shz/vgu2o1xz6a22ook/gcbNbUrAbw/Dropbox.framework/Dropbox.framework?token_hash=AAH3iDUuocHKrHqmpyXOueLODnxucTI-3vXzKdm_KhD1pQ&top_level_offset=48&dl=1' > binding/DropBoxSync.zip"
sh "unzip -p binding/DropBoxSync.zip 'Dropbox.framework/Dropbox' > binding/Dropbox.a"
sh "#{MONOXBUILD} /p:Configuration=Release binding/DropBoxSync.iOS.csproj"
sh "cp binding/bin/Release/DropBoxSync.iOS.dll binding/DropBoxSync.iOS.dll"
Expand Down
6 changes: 6 additions & 0 deletions binding/ApiDefinition.cs
Expand Up @@ -60,6 +60,9 @@ interface DBAccountManager {
[Export ("linkedAccount")]
DBAccount LinkedAccount { get; }

[Export ("linkedAccounts")]
DBAccount [] LinkedAccounts { get; }

[Export ("addObserver:block:")]
void AddObserver (NSObject observer, DBAccountManagerObserverHandler handler);

Expand Down Expand Up @@ -194,6 +197,9 @@ interface DBFilesystem {
[Export ("status")]
DBSyncStatus Status { get; }

[Export ("addObserver:block:")]
bool AddObserver (NSObject observer, DBObserverHandler handler);

[Export ("addObserver:forPath:block:")]
bool AddObserver (NSObject observer, DBPath path, DBObserverHandler handler);

Expand Down
2 changes: 2 additions & 0 deletions samples/DropBoxSyncSampleMTD/Info.plist
Expand Up @@ -19,5 +19,7 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>MinimumOSVersion</key>
<string>5.0</string>
</dict>
</plist>

0 comments on commit 85c953c

Please sign in to comment.