Guest User

Untitled

a guest
Feb 14th, 2013
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. - ( void ) moviePlaybackFinished
  2. {
  3. CCLOG(@ "moviePlaybackFinished" );
  4.  
  5. NSString * className = [PublicApi readSceneClassName];
  6. id aClass = NSClassFromString(className);
  7. if(aClass!=nil)
  8. {
  9. if([aClass respondsToSelector:@selector(moviePlaybackFinished: ResArr: Menu: MovieNum:)])
  10. {
  11.  
  12. }
  13.  
  14. self.movieNum++;
  15. }
  16.  
  17. - ( void ) movieStartsPlaying
  18. {
  19. CCLOG(@ "movieStartsPlaying" );
  20. }
  21.  
  22. #ifdef __IPHONE_OS_VERSION_MAX_ALLOWED
  23. // Updates orientation of CCVideoPlayer. Called from SharedSources/RootViewController.m
  24. - ( void ) updateOrientationWithOrientation: (UIDeviceOrientation) newOrientation
  25. {
  26. CCLOG(@ "updateOrientationWithOrientation" );
  27. [CCVideoPlayer updateOrientationWithOrientation:newOrientation ];
  28. }
  29. #endif
Add Comment
Please, Sign In to add comment