30 lines
786 B
Objective-C
30 lines
786 B
Objective-C
//
|
|
// Constants.h
|
|
// Twittia 2
|
|
//
|
|
// Created by Jeena on 01.05.10.
|
|
// Copyright 2010 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <Carbon/Carbon.h>
|
|
|
|
|
|
@interface Constants : NSObject {
|
|
|
|
}
|
|
|
|
#define OAUTH_CONSUMER_KEY @"JPmU8KJhiBKfpohCiWLg"
|
|
#define OAUTH_CONSUMER_SECRET @"jtfSrnDrRcUnL1nqTMcAW0055m63EMClmkxhiBjQ"
|
|
#define OAUTH_SIGNATURE_METHOD @"HMAC-SHA1"
|
|
#define OAUTH_REQUEST_TOKEN_URL @"http://twitter.com/oauth/request_token"
|
|
#define OAUTH_USER_AUTHORIZATION_URL @"http://twitter.com/oauth/authorize"
|
|
#define OAUTH_ACCESS_TOKEN_URL @"http://twitter.com/oauth/access_token"
|
|
#define OAUTH_SERVICE_NAME @"twitter.com"
|
|
|
|
#define APP_NAME @"Twittia"
|
|
#define TWEET_MAX_LENGTH 140
|
|
|
|
+ (NSString *)stringFromVirtualKeyCode:(NSInteger)code;
|
|
|
|
@end
|