This repository has been archived on 2025-08-18. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
Twittia/Constants.h
Jeena Paradies 88a37477fe changed urls
2011-06-03 20:52:40 +02:00

47 lines
1.3 KiB
Objective-C

//
// Constants.h
// Twittia 2
//
// Created by Jeena on 01.05.10.
// Licence: BSD (see attached LICENCE.txt file).
//
#import <Foundation/Foundation.h>
#import <Carbon/Carbon.h>
@interface Constants : NSObject {
}
#ifdef USE_TWITTER
#define API_URL @"http://api.twitter.com/1/"
#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"
#else
#define API_URL @"http://identi.ca/api/"
#define OAUTH_CONSUMER_KEY @"76cb48ce4c65a9c760078b60aa9ce18f"
#define OAUTH_CONSUMER_SECRET @"519f5624b2024983369371b2ba389591"
#define OAUTH_SIGNATURE_METHOD @"HMAC-SHA1"
#define OAUTH_REQUEST_TOKEN_URL @"http://identi.ca/api/oauth/request_token"
#define OAUTH_USER_AUTHORIZATION_URL @"http://identi.ca/api/oauth/authorize"
#define OAUTH_ACCESS_TOKEN_URL @"http://identi.ca/api/oauth/access_token"
#define OAUTH_SERVICE_NAME @"identi.ca"
#endif
#define APP_NAME @"Twittia"
#define TWEET_MAX_LENGTH 140
+ (NSString *)stringFromVirtualKeyCode:(NSInteger)code;
@end