annotate QuestionnaireViewController.h @ 22:8c0783739337

Logs uploading. Questionnaire also.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Thu, 24 Jan 2013 18:14:40 +0000
parents 650589cac373
children e2c62db1e265
rev   line source
rt300@14 1 //
rt300@14 2 // QuestionnaireViewController.h
rt300@14 3 // oscSenderExample
rt300@14 4 //
rt300@14 5 // Created by Robert Tubb on 16/01/2013.
rt300@14 6 //
rt300@14 7 //
rt300@14 8
rt300@14 9 #import <UIKit/UIKit.h>
rt300@14 10
rt300@22 11 #import "Question.h"
rt300@22 12
rt300@14 13 @interface QuestionnaireViewController : UIViewController
rt300@21 14 <UIPickerViewDelegate, UIPickerViewDataSource>
rt300@21 15 {
rt300@22 16
rt300@21 17 UIPickerView *picker;
rt300@22 18
rt300@21 19
rt300@21 20 }
rt300@14 21 @property (retain, nonatomic) IBOutlet UILabel *questionText;
rt300@15 22 @property (retain, nonatomic) IBOutlet UILabel *titleText;
rt300@16 23 @property (retain, nonatomic) IBOutlet UIButton *finishButton;
rt300@16 24 @property (retain, nonatomic) IBOutlet UIButton *nextButton;
rt300@22 25 @property (retain, nonatomic) IBOutlet UIButton *previousButton;
rt300@14 26
rt300@21 27 @property (strong, nonatomic) IBOutlet UIPickerView *picker;
rt300@22 28
rt300@21 29
rt300@14 30 //----------------------------------------------------------------
rt300@14 31 -(IBAction)hide:(id)sender;
rt300@14 32 -(IBAction)show:(id)sender;
rt300@14 33 - (IBAction)nextQuestionPressed:(id)sender;
rt300@15 34 - (IBAction)previousQuestionPressed:(id)sender;
rt300@16 35 //----------------------------------------------------------------
rt300@16 36 - (void)setAppRef:(id)theOFApp;
rt300@16 37 - (void)populateQuestionArray;
rt300@16 38 - (void)loadQuestion:(NSInteger)questionIndex;
rt300@16 39 //----------------------------------------------------------------
rt300@14 40 @end
rt300@14 41
rt300@21 42 //----------------------------------------------------------------
rt300@21 43 //----------------------------------------------------------------
rt300@21 44 //----------------------------------------------------------------