From 58972c5ecee93a9d072f48c0570c392aa3afe73a Mon Sep 17 00:00:00 2001 From: Neil Burrows Date: Sat, 10 Apr 2021 15:30:33 +0100 Subject: [PATCH] Remove unsed/unreferenced code --- components/InputTask.brs | 33 ----- components/InputTask.xml | 9 -- components/Pager.brs | 127 ----------------- components/Pager.xml | 11 -- components/collections/CollectionDetail.brs | 116 ---------------- components/collections/CollectionDetail.xml | 12 -- source/Main.brs | 14 -- source/ShowScenes.brs | 52 ------- source/api/Branding.brs | 9 -- source/api/Items.brs | 144 -------------------- source/api/Library.brs | 19 --- 11 files changed, 546 deletions(-) delete mode 100644 components/InputTask.brs delete mode 100644 components/InputTask.xml delete mode 100644 components/Pager.brs delete mode 100644 components/Pager.xml delete mode 100644 components/collections/CollectionDetail.brs delete mode 100644 components/collections/CollectionDetail.xml delete mode 100644 source/api/Branding.brs delete mode 100644 source/api/Library.brs diff --git a/components/InputTask.brs b/components/InputTask.brs deleted file mode 100644 index dc6ce574..00000000 --- a/components/InputTask.brs +++ /dev/null @@ -1,33 +0,0 @@ -Sub Init() - m.top.functionName = "listenInput" -End Sub - -function ListenInput() - port=createobject("romessageport") - InputObject=createobject("roInput") - InputObject.setmessageport(port) - - while true - msg=port.waitmessage(500) - if type(msg)="roInputEvent" then - print "INPUT EVENT!" - if msg.isInput() - inputData = msg.getInfo() - 'print inputData' - for each item in inputData - print item +": " inputData[item] - end for - - ' pass the deeplink to UI - if inputData.DoesExist("mediaType") and inputData.DoesExist("contentID") - deeplink = { - id: inputData.contentID - type: inputData.mediaType - } - print "got input deeplink= "; deeplink - m.top.inputData = deeplink - end if - end if - end if - end while -end function diff --git a/components/InputTask.xml b/components/InputTask.xml deleted file mode 100644 index 00af7704..00000000 --- a/components/InputTask.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - -