Controller.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*****************************************************************************
  2. * test: Controller
  3. *****************************************************************************
  4. * Copyright (C) 2007-2012 Pierre d'Herbemont and VideoLAN
  5. *
  6. * Authors: Pierre d'Herbemont
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU Lesser General Public License as published by
  10. * the Free Software Foundation; either version 2.1 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU Lesser General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public License
  19. * along with this program; if not, write to the Free Software Foundation,
  20. * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  21. *****************************************************************************/
  22. #import <Cocoa/Cocoa.h>
  23. #import <VLCKit/VLCKit.h>
  24. @interface Controller : NSObject
  25. {
  26. IBOutlet id window;
  27. IBOutlet id playlistOutline;
  28. IBOutlet id videoHolderView;
  29. IBOutlet id spuPopup;
  30. VLCVideoView * videoView;
  31. VLCMediaList *playlist;
  32. VLCMediaPlayer *player;
  33. int mediaIndex;
  34. }
  35. - (void)awakeFromNib;
  36. - (void)setMediaIndex:(int)value;
  37. - (void)play:(id)sender;
  38. - (void)pause:(id)sender;
  39. - (IBAction)setSPU:(id)sender;
  40. @end