/usr/share/openscenegraph/examples/osgviewerIPhone/iphoneViewerAppDelegate.h is in openscenegraph-examples 3.2.0~rc1-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | //Created by Thomas Hogarth 2009
//force the link to our desired osgPlugins
#include "osgPlugins.h"
#include <osgDB/ReadFile>
#include <osg/MatrixTransform>
#include <osg/CameraNode>
#include <osgText/Text>
#include <osgViewer/Viewer>
#import <UIKit/UIKit.h>
@interface iphoneViewerAppDelegate : NSObject <UIApplicationDelegate, UIAccelerometerDelegate> {
UIWindow* _window; //main application window
UIAccelerationValue accel[3];
osg::ref_ptr<osgViewer::Viewer> _viewer;
osg::ref_ptr<osg::MatrixTransform> _root;
}
@property (nonatomic, retain) /*IBOutlet*/ UIWindow *_window;
- (void)updateScene;
@end
|