예제 #1
0
파일: MyXcapStack.cs 프로젝트: xolile/boghe
        public MyXcapStack(XcapCallback callback, String xui, String password, String xcapRoot, int timeout)
        {
            this.stack = new XcapStack(callback, xui, password, xcapRoot);

            if (callback is MySyncXcapCallback)
            {
                this.synCallback = callback as MySyncXcapCallback;
            }

            this.xui = xui;
            this.password = password;
            this.xcapRoot = xcapRoot;
            this.timeout = timeout;

            this.stack.setTimeout((uint)timeout);
        }
예제 #2
0
 public XcapSelector(XcapStack stack) : this(tinyWRAPPINVOKE.new_XcapSelector(XcapStack.getCPtr(stack)), true) {
 }
예제 #3
0
 internal static HandleRef getCPtr(XcapStack obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
예제 #4
0
 internal static HandleRef getCPtr(XcapStack obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #5
0
 public XcapSelector(XcapStack stack) : this(tinyWRAPPINVOKE.new_XcapSelector(XcapStack.getCPtr(stack)), true)
 {
 }