Ejemplo n.º 1
0
        public void UseAfterClose_NotCrash()
        {
            var engine = new XklEngine();

            engine.Close();
            engine.SetGroup(0);
        }
Ejemplo n.º 2
0
        public void MultipleEngines_ClosedInOpenOrder_NotCrash()
        {
            var engine1 = new XklEngine();
            var engine2 = new XklEngine();

            engine1.Close();
            engine2.Close();
        }
 public XkbKeyboardAdaptor()
 {
     m_engine = Activator.CreateInstance(XklEngineType) as XklEngine;
 }
 public void Close()
 {
     m_engine.Close();
     m_engine = null;
 }
Ejemplo n.º 5
0
        public void Basic()
        {
            var engine = new XklEngine();

            engine.Close();
        }