CGEchoProperty.h 693 B

12345678910111213141516171819202122232425262728293031
  1. /******************************************************************
  2. *
  3. * uEcho for ObjC
  4. *
  5. * Copyright (C) Satoshi Konno 2015
  6. *
  7. * This is licensed under BSD-style license, see file COPYING.
  8. *
  9. ******************************************************************/
  10. #import <Foundation/NSArray.h>
  11. #import <Foundation/NSString.h>
  12. #import <stdio.h>
  13. typedef void uEchoProperty;
  14. @interface CGEchoProperty : NSObject {
  15. }
  16. - (id)init;
  17. - (id)initWithCObject:(uEchoProperty*)cobj;
  18. - (NSString*)name;
  19. - (BOOL)setCode:(Byte)code;
  20. - (BOOL)setData:(Byte*)data size:(size_t)size;
  21. - (Byte)code;
  22. - (Byte*)data;
  23. - (size_t)size;
  24. - (BOOL)isReadRequired;
  25. - (BOOL)isWriteRequired;
  26. - (BOOL)isAnnoRequired;
  27. @end