1398f0c6ee3f65eba7b6263d40f706de36138d0f
[atutor.git] / mods / atsocial_iphone_app / Classes / CommonFunctions.h
1 //
2 //  CommonFunctions.h
3 //  ATutor
4 //
5 //  Created by Quang Anh Do on 30/05/2010.
6 //  Copyright 2010 Quang Anh Do. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import <Three20/Three20.h>
11
12
13 @interface CommonFunctions : NSObject {
14
15 }
16
17 void alertMessage(NSString *title, NSString *message);
18 BOOL dataSourceAvailable();
19 NSString *applicationDocumentsDirectory();
20
21 BOOL isLoggedIn();
22
23 NSString *shortLinkToContact(int id);
24 NSString *linkToContact(int id, NSString *name);
25 NSString *rewriteURLStrings(NSString *content);
26 NSString *niceTimeString(NSString *timeString);
27
28 @end