Example #1
0
        public void sendViewpointMessage(string str)
        {
            MessageBuffer mb = new MessageBuffer();

            mb.add("setViewpoint " + str);

            COVER.Instance.sendMessage(mb.buf, COVER.MessageTypes.StringMessage);
        }
Example #2
0
        public void sendApplicationType()
        {
            MessageBuffer mb = new MessageBuffer();
            mb.add("PowerPoint");
            mb.add("Microsoft PowerPoint Add-in");

            COVER.Instance.sendMessage(mb.buf, COVER.MessageTypes.ApplicationType);
        }
Example #3
0
 public COVERMessage(MessageBuffer m, int mt)
 {
     message = m;
     messageType = mt;
 }
Example #4
0
        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);
        }
Example #5
0
 public COVERMessage(MessageBuffer m, int mt)
 {
     message     = m;
     messageType = mt;
 }