/* Ċ Ġ* ĠMIT ĠLicense Ċ Ġ* Ċ Ġ* ĠCopyright Ġ( c ) Ġ 2 0 2 1 ĠJ i ey i Ċ Ġ* Ċ Ġ* ĠPermission Ġis Ġhereby Ġgranted , Ġfree Ġof Ġcharge , Ġto Ġany Ġperson Ġobtaining Ġa Ġcopy Ċ Ġ* Ġof Ġthis Ġsoftware Ġand Ġassociated Ġdocumentation Ġfiles Ġ( the Ġ" Software "), Ġto Ġdeal Ċ Ġ* Ġin Ġthe ĠSoftware Ġwithout Ġrestriction , Ġincluding Ġwithout Ġlimitation Ġthe Ġrights Ċ Ġ* Ġto Ġuse , Ġcopy , Ġmodify , Ġmerge , Ġpublish , Ġdistribute , Ġsublicense , Ġand / or Ġsell Ċ Ġ* Ġcopies Ġof Ġthe ĠSoftware , Ġand Ġto Ġpermit Ġpersons Ġto Ġwhom Ġthe ĠSoftware Ġis Ċ Ġ* Ġfurnished Ġto Ġdo Ġso , Ġsubject Ġto Ġthe Ġfollowing Ġconditions : Ċ Ġ* Ċ Ġ* ĠThe Ġabove Ġcopyright Ġnotice Ġand Ġthis Ġpermission Ġnotice Ġshall Ġbe Ġincluded Ġin Ġall Ċ Ġ* Ġcopies Ġor Ġsubstantial Ġportions Ġof Ġthe ĠSoftware . Ċ Ġ* Ċ Ġ* ĠTHE ĠSOFTWARE ĠIS ĠPROVIDED Ġ" AS ĠIS ", ĠWITHOUT ĠWARRANTY ĠOF ĠANY ĠKIND , ĠEXPRESS ĠOR Ċ Ġ* ĠIMPLIED , ĠINCLUDING ĠBUT ĠNOT ĠLIMITED ĠTO ĠTHE ĠWARRANTIES ĠOF ĠMERCHANTABILITY , Ċ Ġ* ĠFITNESS ĠFOR ĠA ĠPARTICULAR ĠPURPOSE ĠAND ĠNONINFRINGEMENT . ĠIN ĠNO ĠEVENT ĠSHALL ĠTHE Ċ Ġ* ĠAUTHORS ĠOR ĠCOPYRIGHT ĠHOLDERS ĠBE ĠLIABLE ĠFOR ĠANY ĠCLAIM , ĠDAMAGES ĠOR ĠOTHER Ċ Ġ* ĠLIABILITY , ĠWHETHER ĠIN ĠAN ĠACTION ĠOF ĠCONTRACT , ĠTORT ĠOR ĠOTHERWISE , ĠARISING ĠFROM , Ċ Ġ* ĠOUT ĠOF ĠOR ĠIN ĠCONNECTION ĠWITH ĠTHE ĠSOFTWARE ĠOR ĠTHE ĠUSE ĠOR ĠOTHER ĠDEALINGS ĠIN ĠTHE Ċ Ġ* ĠSOFTWARE . Ċ Ġ*/ Ċ Ċ package Ġt aiwan . no . one . feat . library . domain Ċ Ċ import Ġandroid . content . Context Ċ import Ġorg . kode in . di . DI Ċ import Ġorg . kode in . di . bind Singleton Ċ import Ġorg . kode in . di . instance Ċ import Ġt aiwan . no . one . drop beat . provider . Module Provider Ċ import Ġt aiwan . no . one . feat . library . Feat Modules . Constant . FE AT _ NAME Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Add Playlist Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Add Playlist One Shot Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Add S ongs And Playlist Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Add S ongs And Playlist One Shot Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Add S ongs Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Add S ongs One Shot Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Create Default Playlist Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Create Default Playlist One Shot Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Delete Playlist Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Delete Playlist One Shot Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Fetch All Play lists Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Fetch All Play lists One Shot Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Fetch IsIn The Playlist Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Fetch IsIn The Playlist One Shot Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Fetch Ly ric Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Fetch Ly ric One Shot Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Fetch Playlist Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Fetch Playlist One Shot Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Fetch Song Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Fetch Song One Shot Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Update Playlist Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Update Playlist One Shot Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Update Song Case Ċ import Ġt aiwan . no . one . feat . library . domain . use cases . Update Song One Shot Case Ċ Ċ internal Ġobject ĠDomain Modules Ġ: ĠModule Provider Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġprovide ( context : ĠContext ) Ġ= ĠDI . Module ("${ FE AT _ NAME } Domain Module ") Ġ{ ĊĠĠĠĠĠĠĠ Ġbind Singleton < Fetch Playlist Case > Ġ{ ĠFetch Playlist One Shot Case ( instance ()) Ġ} ĊĠĠĠĠĠĠĠ Ġbind Singleton < Fetch All Play lists Case > Ġ{ ĠFetch All Play lists One Shot Case ( instance ()) Ġ} ĊĠĠĠĠĠĠĠ Ġbind Singleton < Add Playlist Case > Ġ{ ĠAdd Playlist One Shot Case ( instance ()) Ġ} ĊĠĠĠĠĠĠĠ Ġbind Singleton < Update Playlist Case > Ġ{ ĠUpdate Playlist One Shot Case ( instance (), Ġinstance ()) Ġ} ĊĠĠĠĠĠĠĠ Ġbind Singleton < Delete Playlist Case > Ġ{ ĠDelete Playlist One Shot Case ( instance ()) Ġ} ĊĠĠĠĠĠĠĠ Ġbind Singleton < Fetch Song Case > Ġ{ ĠFetch Song One Shot Case ( instance ()) Ġ} ĊĠĠĠĠĠĠĠ Ġbind Singleton < Fetch IsIn The Playlist Case > Ġ{ ĠFetch IsIn The Playlist One Shot Case ( instance (), Ġinstance ()) Ġ} ĊĠĠĠĠĠĠĠ Ġbind Singleton < Add S ongs Case > Ġ{ ĠAdd S ongs One Shot Case ( instance ()) Ġ} ĊĠĠĠĠĠĠĠ Ġbind Singleton < Add S ongs And Playlist Case > Ġ{ ĠAdd S ongs And Playlist One Shot Case ( instance (), Ġinstance ()) Ġ} ĊĠĠĠĠĠĠĠ Ġbind Singleton < Update Song Case > Ġ{ ĠUpdate Song One Shot Case ( instance (), Ġinstance ()) Ġ} ĊĠĠĠĠĠĠĠ Ġbind Singleton < Create Default Playlist Case > Ġ{ ĠCreate Default Playlist One Shot Case ( instance ()) Ġ} ĊĠĠĠĠĠĠĠ Ġbind Singleton < Fetch Ly ric Case > Ġ{ ĠFetch Ly ric One Shot Case ( instance (), Ġinstance ()) Ġ} ĊĠĠĠ Ġ} Ċ } Ċ