PDRCoreApp.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // PDR_Application.h
  3. // Pandora
  4. //
  5. // Created by Mac Pro on 12-12-22.
  6. // Copyright 2012 __MyCompanyName__. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "PDRCoreDefs.h"
  10. #import "PDRCoreSettings.h"
  11. #import "PDRCoreAppWindow.h"
  12. #import "H5UniversalApp.h"
  13. extern NSString *const PDRCoreAppDidStartedKey;
  14. extern NSString *const PDRCoreAppDidStartedFailedKey;
  15. extern NSString *const PDRCoreAppDidUpdataKey;
  16. extern NSString *const PDRCoreAppDidStopedKey;
  17. @class PDRCoreAppInfo;
  18. @class PDRCoreAppWindow;
  19. @class PDRCoreAppFrame;
  20. /// H5+应用
  21. @interface PDRCoreApp : H5UniversalApp<H5UniversalApp>
  22. /// 应用运行目录
  23. @property (nonatomic, copy)NSString *workRootPath;
  24. /// 安装包位置目录
  25. @property (nonatomic, copy)NSString *executableRootPath;
  26. /// 应用信息
  27. @property (nonatomic, readonly)PDRCoreAppInfo *appInfo;
  28. /// 应用根窗口
  29. @property (nonatomic, readonly)PDRCoreAppWindow *appWindow;
  30. /// 应用首页面
  31. @property (nonatomic, readonly)PDRCoreAppFrame *mainFrame;
  32. /// 创建App使用的参数
  33. @property (nonatomic, retain)NSString *arguments;
  34. @property (nonatomic, readonly) BOOL isStreamApp;
  35. @end