Ejemplo n.º 1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            // Process Watcher
            List <ProcessItem> processItems = new List <ProcessItem>(new ProcessItem[] {
                new ProcessItem("gameClient", "League of Legends"),
                new ProcessItem("launcher", "LeagueClientUx")
            });
            var processDetection = new ProcessDetection(processItems);

            ClientTypeGame gameClient = new ClientTypeGame(previewImages, AppSettings);

            List <ClientMap> clientMapList = new List <ClientMap>(new ClientMap[] {
                new ClientMap("gameClient", gameClient),
                new ClientMap("launcher", new ClientTypeLauncher()),
            });

            mainApplication             = new MainApplication(processDetection, clientMapList, AppSettings);
            mainApplication.Dispatcher  = Dispatcher;
            mainApplication.RootElement = RootElement;


            // Cue Connection
            var cb = new ICueBridge();

            mainApplication.setiCueBridge(ref cb);
        }
Ejemplo n.º 2
0
 public void setiCueBridge(ref ICueBridge iCueBridge)
 {
     this.ICueBridge = iCueBridge;
 }
Ejemplo n.º 3
0
 public void SetICueBridge(ref ICueBridge value)
 {
     this.iCueBridge = value;
 }