浏览代码

短视频插件使用非单例模式。

huangyl3 4 年之前
父节点
当前提交
c9addd6801
共有 2 个文件被更改,包括 20 次插入20 次删除
  1. 10 10
      display-center/Res/config/mobile-action.xml
  2. 10 10
      display-center/display-center/IPUPeerTubePlugin.h

+ 10 - 10
display-center/Res/config/mobile-action.xml

225
    <action name="setSmsListener" class="IPUVerifyCodePlugin" method="setSmsListener"/>
225
    <action name="setSmsListener" class="IPUVerifyCodePlugin" method="setSmsListener"/>
226
    
226
    
227
    <!--短视频-->
227
    <!--短视频-->
228
    <action name="ptInitPeerTube"         class="IPUPeerTubePlugin"  method="ptInitPeerTube"/>
229
    <action name="ptRequestSharedVideos"  class="IPUPeerTubePlugin"  method="ptRequestSharedVideos"/>
230
    <action name="ptRequestMyVideos"      class="IPUPeerTubePlugin"  method="ptRequestMyVideos"/>
231
    <action name="ptRequestHistoryVideos" class="IPUPeerTubePlugin"  method="ptRequestHistoryVideos"/>
232
    <action name="ptClearHistory"         class="IPUPeerTubePlugin"  method="ptClearHistory"/>
233
    <action name="ptUploadVideo"          class="IPUPeerTubePlugin"  method="ptUploadVideo"/>
234
    <action name="ptDeleteVideo"          class="IPUPeerTubePlugin"  method="ptDeleteVideo"/>
235
    <action name="ptSearchByKeyword"      class="IPUPeerTubePlugin"  method="ptSearchByKeyword"/>
236
    <action name="ptSearchByTag"          class="IPUPeerTubePlugin"  method="ptSearchByTag"/>
237
    <action name="ptPlay"                 class="IPUPeerTubePlugin"  method="ptPlay"/>
228
    <action name="ptInitPeerTube"         class="IPUPeerTubePlugin"  method="ptInitPeerTube"         singleton="false"/>
229
    <action name="ptRequestSharedVideos"  class="IPUPeerTubePlugin"  method="ptRequestSharedVideos"  singleton="false"/>
230
    <action name="ptRequestMyVideos"      class="IPUPeerTubePlugin"  method="ptRequestMyVideos"      singleton="false"/>
231
    <action name="ptRequestHistoryVideos" class="IPUPeerTubePlugin"  method="ptRequestHistoryVideos" singleton="false"/>
232
    <action name="ptClearHistory"         class="IPUPeerTubePlugin"  method="ptClearHistory"         singleton="false"/>
233
    <action name="ptUploadVideo"          class="IPUPeerTubePlugin"  method="ptUploadVideo"          singleton="false"/>
234
    <action name="ptDeleteVideo"          class="IPUPeerTubePlugin"  method="ptDeleteVideo"          singleton="false"/>
235
    <action name="ptSearchByKeyword"      class="IPUPeerTubePlugin"  method="ptSearchByKeyword"      singleton="false"/>
236
    <action name="ptSearchByTag"          class="IPUPeerTubePlugin"  method="ptSearchByTag"          singleton="false"/>
237
    <action name="ptPlay"                 class="IPUPeerTubePlugin"  method="ptPlay"                 singleton="false"/>
238
    
238
    
239
    <action name="setMobileConfig"            class="IPUServiceChangePlugin"  method="setMobileConfig"/>
239
    <action name="setMobileConfig"            class="IPUServiceChangePlugin"  method="setMobileConfig"/>
240
    <action name="resetMobileConfig"          class="IPUServiceChangePlugin"  method="resetMobileConfig"/>
240
    <action name="resetMobileConfig"          class="IPUServiceChangePlugin"  method="resetMobileConfig"/>

+ 10 - 10
display-center/display-center/IPUPeerTubePlugin.h

22
 */
22
 */
23
23
24
/*
24
/*
25
 <action name="ptInitPeerTube"         class="IPUPeerTubePlugin"  method="ptInitPeerTube"/>
26
 <action name="ptRequestSharedVideos"  class="IPUPeerTubePlugin"  method="ptRequestSharedVideos"/>
27
 <action name="ptRequestMyVideos"      class="IPUPeerTubePlugin"  method="ptRequestMyVideos"/>
28
 <action name="ptRequestHistoryVideos" class="IPUPeerTubePlugin"  method="ptRequestHistoryVideos"/>
29
 <action name="ptClearHistory"         class="IPUPeerTubePlugin"  method="ptClearHistory"/>
30
 <action name="ptUploadVideo"          class="IPUPeerTubePlugin"  method="ptUploadVideo"/>
31
 <action name="ptDeleteVideo"          class="IPUPeerTubePlugin"  method="ptDeleteVideo"/>
32
 <action name="ptSearchByKeyword"      class="IPUPeerTubePlugin"  method="ptSearchByKeyword"/>
33
 <action name="ptSearchByTag"          class="IPUPeerTubePlugin"  method="ptSearchByTag"/>
34
 <action name="ptPlay"                 class="IPUPeerTubePlugin"  method="ptPlay"/>
25
 <action name="ptInitPeerTube"         class="IPUPeerTubePlugin"  method="ptInitPeerTube"         singleton="false"/>
26
 <action name="ptRequestSharedVideos"  class="IPUPeerTubePlugin"  method="ptRequestSharedVideos"  singleton="false"/>
27
 <action name="ptRequestMyVideos"      class="IPUPeerTubePlugin"  method="ptRequestMyVideos"      singleton="false"/>
28
 <action name="ptRequestHistoryVideos" class="IPUPeerTubePlugin"  method="ptRequestHistoryVideos" singleton="false"/>
29
 <action name="ptClearHistory"         class="IPUPeerTubePlugin"  method="ptClearHistory"         singleton="false"/>
30
 <action name="ptUploadVideo"          class="IPUPeerTubePlugin"  method="ptUploadVideo"          singleton="false"/>
31
 <action name="ptDeleteVideo"          class="IPUPeerTubePlugin"  method="ptDeleteVideo"          singleton="false"/>
32
 <action name="ptSearchByKeyword"      class="IPUPeerTubePlugin"  method="ptSearchByKeyword"      singleton="false"/>
33
 <action name="ptSearchByTag"          class="IPUPeerTubePlugin"  method="ptSearchByTag"          singleton="false"/>
34
 <action name="ptPlay"                 class="IPUPeerTubePlugin"  method="ptPlay"                 singleton="false"/>
35
 */
35
 */
36
36
37
NS_ASSUME_NONNULL_BEGIN
37
NS_ASSUME_NONNULL_BEGIN