2010-11-14 09:18:29 -08:00
|
|
|
//
|
|
|
|
// MessageViewController.h
|
|
|
|
// ZXing
|
|
|
|
//
|
|
|
|
// Created by Christian Brunschen on 30/07/2008.
|
|
|
|
/*
|
|
|
|
* Copyright 2008 ZXing authors
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
2010-11-16 02:29:45 -08:00
|
|
|
#import "ModalViewControllerDelegate.h"
|
2010-11-15 07:43:18 -08:00
|
|
|
@class MessageViewController;
|
|
|
|
|
2010-11-16 02:29:45 -08:00
|
|
|
|
2010-11-14 09:18:29 -08:00
|
|
|
|
|
|
|
@interface MessageViewController : UIViewController <UIWebViewDelegate> {
|
2010-11-14 10:09:37 -08:00
|
|
|
// id callbackTarget;
|
|
|
|
// SEL callbackSelectorSuccess;
|
|
|
|
// SEL callbackSelectorFailure;
|
2010-11-14 09:18:29 -08:00
|
|
|
NSURL *contentURL;
|
2010-11-14 10:09:37 -08:00
|
|
|
IBOutlet UIWebView *webView;
|
2010-11-16 02:29:45 -08:00
|
|
|
id<ModalViewControllerDelegate> delegate;
|
2010-11-14 09:18:29 -08:00
|
|
|
}
|
|
|
|
|
2010-11-14 10:09:37 -08:00
|
|
|
//@property (nonatomic, retain) id callbackTarget;
|
|
|
|
//@property (nonatomic, assign) SEL callbackSelectorSuccess;
|
|
|
|
//@property (nonatomic, assign) SEL callbackSelectorFailure;
|
2010-11-14 09:18:29 -08:00
|
|
|
|
2010-11-14 10:09:37 -08:00
|
|
|
@property (nonatomic,retain) IBOutlet UIWebView *webView;
|
2010-11-16 02:29:45 -08:00
|
|
|
@property (nonatomic,assign) id<ModalViewControllerDelegate> delegate;
|
2010-11-14 09:18:29 -08:00
|
|
|
@property (nonatomic, retain) NSURL *contentURL;
|
|
|
|
|
2010-11-14 10:09:37 -08:00
|
|
|
- (id)initWithMessageFilename:(NSString *)filename;
|
2010-11-15 07:43:18 -08:00
|
|
|
- (IBAction)dismiss:(id)sender;
|
2010-11-14 09:18:29 -08:00
|
|
|
|
|
|
|
@end
|