//
//  DbHelper.h
//  VisIVOMobile
//
//  Created by Fabio Vitello on 06/03/12.
//  Copyright 2011 nothing. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DbHelper : NSObject {
	NSURL *myURL;
	NSMutableString *status;
	NSMutableData *receivedData;
	NSURLConnection *_connection;
	NSMutableURLRequest *_request;
	NSString *username;
	NSString *password;
    
    NSString *post;
    
	
	id delegate;
	SEL delegateMethod;
	SEL delegateErrorMethod;
    
	NSMutableDictionary *receivedDictionary;
    
    
    
}
- (id)initWithReference:(NSString *)anURL;
- (void)makePostRequest;
-(void) setPostParameter:(NSString *)par;


@property(nonatomic, assign) id delegate;
@property (nonatomic) SEL delegateMethod;
@property(nonatomic) SEL delegateErrorMethod;
@property(nonatomic, retain) NSMutableData *receivedData;
@property(nonatomic, retain) NSMutableDictionary *receivedDictionary;




@end
