Sha256: 7f1b80a03cf8be1051cb7386bf4af26a0f2196ffd5142c6c86b097bfaedde9b0

Contents?: true

Size: 1.78 KB

Versions: 8

Compression:

Stored size: 1.78 KB

Contents

/*
 *  Rhodes.h
 *  rhorunner
 *
 *  Created by Dmitry Moskalchuk on 07.03.10.
 *  Copyright 2010 Rhomobile Inc. All rights reserved.
 *
 */

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "AppManager.h"
#import "RhoMainView.h"

#import "SplashViewController.h"
#import "LogOptionsController.h"
#import "LogViewController.h"
#import "DateTimePickerDelegate.h"
#import "PickImageDelegate.h"

@interface Rhodes : NSObject <UIApplicationDelegate,
    UITabBarControllerDelegate, AVAudioPlayerDelegate>
{
    AppManager *appManager;
    UIApplication *application;
    UIWindow *window;
    AVAudioPlayer *player;
    NSMutableDictionary *cookies;
    // Controllers
    SplashViewController *splashViewController;
    LogOptionsController* logOptionsController;
    LogViewController* logViewController;
    DateTimePickerDelegate* dateTimePickerDelegate;
    PickImageDelegate* pickImageDelegate;
    
    id<RhoMainView,NSObject> mainView;
}

@property (nonatomic, retain) UIWindow *window;
@property (nonatomic, retain) AVAudioPlayer *player;
@property (nonatomic, retain) NSMutableDictionary *cookies;

+ (Rhodes*)sharedInstance;

+ (UIApplication*)application;

+ (CGRect)applicationFrame;
+ (void)setStatusBarHidden:(BOOL)v;

//+ (UIView*)subviewWithTag:(NSInteger)tag ofView:(UIView*)view;

+ (void)performOnUiThread:(id)runnable wait:(BOOL)wait;
+ (void)performOnUiThread:(id)runnable arg:(id)arg wait:(BOOL)wait;
+ (void)performOnUiThread:(id)runnable arg:(id)arg1 arg:(id)arg2 wait:(BOOL)wait;

- (UIWindow*)rootWindow;

- (void)playStart:(NSString*)fileName mediaType:(NSString*)type;
- (void)playStop;

- (void)setCookie:(NSString*)cookie forUrl:(NSString*)url;
- (NSString*)cookie:(NSString*)url;

- (id<RhoMainView,NSObject>)mainView;
- (void)setMainView:(id<RhoMainView,NSObject>)view;

@end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rhodes-2.0.2 platform/iphone/Classes/Rhodes.h
rhodes-2.0.0 platform/iphone/Classes/Rhodes.h
rhodes-2.0.0.rc2 platform/iphone/Classes/Rhodes.h
rhodes-2.0.0.rc1 platform/iphone/Classes/Rhodes.h
rhodes-2.0.0.beta11 platform/iphone/Classes/Rhodes.h
rhodes-2.0.0.beta10 platform/iphone/Classes/Rhodes.h
rhodes-2.0.0.beta9 platform/iphone/Classes/Rhodes.h
rhodes-2.0.0.beta8 platform/iphone/Classes/Rhodes.h