Example #1
0
 public static VlcManager GetInstance(DirectoryInfo dynamicLinkLibrariesPath)
 {
     if (!MyAllInstance.ContainsKey(dynamicLinkLibrariesPath))
     {
         MyAllInstance[dynamicLinkLibrariesPath] = new VlcManager(dynamicLinkLibrariesPath);
     }
     return(MyAllInstance[dynamicLinkLibrariesPath]);
 }
Example #2
0
        public static VlcMediaInstance New(VlcManager manager, IntPtr pointer)
        {
            var instance = allInstances.Find(delegate(VlcMediaInstance i)
            {
                return(i == pointer);
            });

            if (null == instance)
            {
                instance = new VlcMediaInstance(manager, pointer);
                allInstances.Add(instance);
            }
            return(instance);
        }
Example #3
0
 internal VlcInstance(VlcManager manager, IntPtr pointer) : base(pointer)
 {
     myManager = manager;
 }
Example #4
0
 internal VlcMediaPlayerEventManagerInstance(VlcManager manager, IntPtr pointer)
     : base(manager, pointer)
 {
 }
Example #5
0
 private VlcMediaInstance(VlcManager manager, IntPtr pointer) : base(pointer)
 {
     myManager = manager;
 }