MWGridCell.h 835 B

123456789101112131415161718192021222324252627282930
  1. // This file is based on third party code, see below for the original author
  2. // and original license.
  3. // Modifications are (c) by Threema GmbH and licensed under the AGPLv3.
  4. //
  5. // MWGridCell.h
  6. // MWPhotoBrowser
  7. //
  8. // Created by Michael Waterfall on 08/10/2013.
  9. //
  10. //
  11. #import <UIKit/UIKit.h>
  12. #import "MWPhoto.h"
  13. #import "MWGridViewController.h"
  14. @interface MWGridCell : UICollectionViewCell {}
  15. @property (nonatomic, weak) MWGridViewController *gridController;
  16. @property (nonatomic) NSUInteger index;
  17. @property (nonatomic) id <MWPhoto> photo;
  18. @property (nonatomic) BOOL selectionMode;
  19. @property (nonatomic) BOOL isSelected;
  20. - (void)displayImage;
  21. ///***** BEGIN THREEMA MODIFICATION: added as public function *********/
  22. - (void)selectionButtonPressed;
  23. ///***** BEGIN THREEMA MODIFICATION: added as public function *********/
  24. @end