rt300@14: // rt300@14: // QuestionnaireViewController.h rt300@14: // oscSenderExample rt300@14: // rt300@14: // Created by Robert Tubb on 16/01/2013. rt300@14: // rt300@14: // rt300@14: rt300@14: #import rt300@14: rt300@14: @interface QuestionnaireViewController : UIViewController rt300@15: rt300@14: @property (retain, nonatomic) IBOutlet UILabel *questionText; rt300@15: @property (retain, nonatomic) IBOutlet UILabel *titleText; rt300@16: @property (retain, nonatomic) IBOutlet UIButton *finishButton; rt300@16: @property (retain, nonatomic) IBOutlet UIButton *nextButton; rt300@16: @property (retain, nonatomic) IBOutlet UISegmentedControl *segControl; rt300@14: rt300@14: //---------------------------------------------------------------- rt300@14: -(IBAction)hide:(id)sender; rt300@14: -(IBAction)show:(id)sender; rt300@14: - (IBAction)nextQuestionPressed:(id)sender; rt300@15: - (IBAction)previousQuestionPressed:(id)sender; rt300@16: - (IBAction)answerSelected:(id)sender; rt300@16: //---------------------------------------------------------------- rt300@16: - (void)setAppRef:(id)theOFApp; rt300@16: - (void)populateQuestionArray; rt300@16: - (void)populateAnswerArray; rt300@16: - (void)loadQuestion:(NSInteger)questionIndex; rt300@16: //---------------------------------------------------------------- rt300@14: @end rt300@14: