public void sendApplicationType() { MessageBuffer mb = new MessageBuffer(); mb.add("PowerPoint"); mb.add("Microsoft PowerPoint Add-in"); COVER.Instance.sendMessage(mb.buf, COVER.MessageTypes.ApplicationType); }
public void sendViewpointMessage(string str) { MessageBuffer mb = new MessageBuffer(); mb.add("setViewpoint " + str); COVER.Instance.sendMessage(mb.buf, COVER.MessageTypes.StringMessage); }
public void sendApplicationType() { MessageBuffer mb = new MessageBuffer(); if (mode == Mode.Word) { mb.add("Word"); mb.add("Microsoft Word"); } if (mode == Mode.Excel) { mb.add("Calc"); mb.add("Excel"); } if (mode == Mode.PowerPoint) { mb.add("Presentation"); mb.add("PowerPoint"); } if (mode == Mode.InternetExplorer) { mb.add("Browser"); mb.add("InternetExplorer"); } COVER.Instance.sendMessage(mb.buf, COVER.MessageTypes.ApplicationType); }