Commit ab46df52 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Dropbox: add designated header for login constants

parent 1dc40f7a
//
// VLCDropboxConstants.h
// VLC for iOS
//
// Created by Felix Paul Kühne on 29.05.13.
// Copyright (c) 2013 VideoLAN. All rights reserved.
//
#define kVLCDropboxAppKey @"a60fc6qj9zdg7bw"
#warning Dropbox app secret missing, login will fail
#define kVLCDropboxPrivateKey @""
......@@ -11,6 +11,7 @@
#import "VLCDropboxController.h"
#import "VLCAppDelegate.h"
#import "VLCPlaylistViewController.h"
#import "VLCDropboxConstants.h"
#import <DropboxSDK/DropboxSDK.h>
@interface VLCDropboxTableViewController ()
......@@ -44,8 +45,7 @@
_dropboxController = [[VLCDropboxController alloc] init];
_dropboxController.delegate = self;
#warning Dropbox app secret missing, login will fail
DBSession* dbSession = [[DBSession alloc] initWithAppKey:@"a60fc6qj9zdg7bw" appSecret:@"" root:kDBRootDropbox];
DBSession* dbSession = [[DBSession alloc] initWithAppKey:kVLCDropboxAppKey appSecret:kVLCDropboxPrivateKey root:kDBRootDropbox];
[DBSession setSharedSession:dbSession];
[DBRequest setNetworkRequestDelegate:_dropboxController];
......
......@@ -411,6 +411,7 @@
7DBC3B421711FC6C00DCF688 /* VLCAboutViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VLCAboutViewController.m; sourceTree = "<group>"; };
7DBC3B431711FC6C00DCF688 /* VLCAboutViewController~iphone.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = "VLCAboutViewController~iphone.xib"; path = "../Resources/VLCAboutViewController~iphone.xib"; sourceTree = "<group>"; };
7DBC3B48171204EC00DCF688 /* About Contents.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "About Contents.txt"; sourceTree = "<group>"; };
7DBDAE96175652840027BA52 /* VLCDropboxConstants.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VLCDropboxConstants.h; sourceTree = "<group>"; };
7DC87AEC17412A1F009DC250 /* VLCLinearProgressIndicator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VLCLinearProgressIndicator.h; sourceTree = "<group>"; };
7DC87AED17412A1F009DC250 /* VLCLinearProgressIndicator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = VLCLinearProgressIndicator.m; sourceTree = "<group>"; };
7DC87AEF17413634009DC250 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/Localizable.strings; sourceTree = "<group>"; };
......@@ -725,6 +726,7 @@
7D5E39CC174FCDBE007DAFA1 /* Dropbox Integration */ = {
isa = PBXGroup;
children = (
7DBDAE96175652840027BA52 /* VLCDropboxConstants.h */,
7D07A4EB174EB81200759D10 /* VLCDropboxController.h */,
7D07A4EC174EB81200759D10 /* VLCDropboxController.m */,
7D5E39C3174FBAF3007DAFA1 /* VLCDropboxTableViewController.h */,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment