QMProfileManager.h 621 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // QMProfileManager.h
  3. // IMSDK-OC
  4. //
  5. // Created by HCF on 16/8/11.
  6. // Copyright © 2016年 HCF. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. enum QMFileCategory {
  10. DOCX,
  11. IMAGE,
  12. AUDIO,
  13. VIDEO,
  14. OTHER
  15. };
  16. enum QMFileType {
  17. DOC,
  18. MP3
  19. };
  20. @class QMFileModel;
  21. @interface QMProfileManager : NSObject
  22. + (QMProfileManager *)sharedInstance;
  23. - (BOOL)loadProfile: (NSString *)name password: (NSString *)password;
  24. - (NSArray *)getFilesAttributes: (enum QMFileCategory)type;
  25. - (NSString *)getFilePath: (NSString *)fileName;
  26. - (NSString *)checkFileExtension: (NSString *)name;
  27. @end