Exemplo n.º 1
0
        //
        // Constructor
        //
        internal NikonObject(NikonMd3 md3, NikonObject parent, uint id)
        {
            _md3    = md3;
            _parent = parent;
            _id     = id;

            _object           = new NkMAIDObject();
            _object.refClient = new IntPtr(_uniqueValue);
            _uniqueValue++;

            _completionProc = new MAIDCompletionProcDelegate(CompletionProc);
            _eventProc      = new MAIDEventProcDelegate(EventProc);
            _progressProc   = new MAIDProgressProcDelegate(ProgressProc);
            _dataProc       = new MAIDDataProcDelegate(DataProc);
            _uiRequestProc  = new MAIDUIRequestProcDelegate(UIRequestProc);
        }
Exemplo n.º 2
0
        //
        // Constructor
        //
        internal NikonObject(NikonMd3 md3, NikonObject parent, uint id)
        {
            _md3 = md3;
            _parent = parent;
            _id = id;

            _object = new NkMAIDObject();
            _object.refClient = new IntPtr(_uniqueValue);
            _uniqueValue++;

            _completionProc = new MAIDCompletionProcDelegate(CompletionProc);
            _eventProc = new MAIDEventProcDelegate(EventProc);
            _progressProc = new MAIDProgressProcDelegate(ProgressProc);
            _dataProc = new MAIDDataProcDelegate(DataProc);
            _uiRequestProc = new MAIDUIRequestProcDelegate(UIRequestProc);
        }