Skip to content

Commit 88c4f9c

Browse files
committed
Added headers.
1 parent 33d4e2d commit 88c4f9c

File tree

6 files changed

+55
-2
lines changed

6 files changed

+55
-2
lines changed

FlashCap.Core/Devices/AVFoundationDevice.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
////////////////////////////////////////////////////////////////////////////
2+
//
3+
// FlashCap - Independent camera capture library.
4+
// Copyright (c) Yoh Deadfall (@YohDeadfall)
5+
//
6+
// Licensed under Apache-v2: https://opensource.org/licenses/Apache-2.0
7+
//
8+
////////////////////////////////////////////////////////////////////////////
9+
110
using System;
211
using System.Linq;
312
using System.Runtime.InteropServices;
@@ -10,7 +19,6 @@
1019
using static FlashCap.Internal.NativeMethods_AVFoundation.LibCoreMedia;
1120
using static FlashCap.Internal.NativeMethods_AVFoundation.LibCoreVideo;
1221

13-
1422
namespace FlashCap.Devices;
1523

1624
public sealed class AVFoundationDevice : CaptureDevice

FlashCap.Core/Internal/FourCharCode.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1+
////////////////////////////////////////////////////////////////////////////
2+
//
3+
// FlashCap - Independent camera capture library.
4+
// Copyright (c) Yoh Deadfall (@YohDeadfall)
5+
//
6+
// Licensed under Apache-v2: https://opensource.org/licenses/Apache-2.0
7+
//
8+
////////////////////////////////////////////////////////////////////////////
9+
110
using System;
211

312
namespace FlashCap.Internal;
413

5-
public struct FourCharCode : IEquatable<FourCharCode>
14+
internal readonly struct FourCharCode : IEquatable<FourCharCode>
615
{
716
private readonly uint value;
817

FlashCap.Core/Internal/LibAVFoundation/AVCaptureSession.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
////////////////////////////////////////////////////////////////////////////
2+
//
3+
// FlashCap - Independent camera capture library.
4+
// Copyright (c) Yoh Deadfall (@YohDeadfall)
5+
//
6+
// Licensed under Apache-v2: https://opensource.org/licenses/Apache-2.0
7+
//
8+
////////////////////////////////////////////////////////////////////////////
9+
110
using System;
211
using System.Runtime.InteropServices;
312

FlashCap.Core/Internal/LibAVFoundation/AVCaptureVideoDataOutput.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
////////////////////////////////////////////////////////////////////////////
2+
//
3+
// FlashCap - Independent camera capture library.
4+
// Copyright (c) Yoh Deadfall (@YohDeadfall)
5+
//
6+
// Licensed under Apache-v2: https://opensource.org/licenses/Apache-2.0
7+
//
8+
////////////////////////////////////////////////////////////////////////////
9+
110
using System;
211
using System.Runtime.InteropServices;
312
using FlashCap.Devices;

FlashCap.Core/Internal/LibAVFoundation/LibAVFoundation.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
////////////////////////////////////////////////////////////////////////////
2+
//
3+
// FlashCap - Independent camera capture library.
4+
// Copyright (c) Yoh Deadfall (@YohDeadfall)
5+
//
6+
// Licensed under Apache-v2: https://opensource.org/licenses/Apache-2.0
7+
//
8+
////////////////////////////////////////////////////////////////////////////
9+
110
using System;
211
using System.Runtime.InteropServices;
312
using System.Linq;

FlashCap.Core/Internal/NativeMethods_AVFoundation.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
////////////////////////////////////////////////////////////////////////////
2+
//
3+
// FlashCap - Independent camera capture library.
4+
// Copyright (c) Yoh Deadfall (@YohDeadfall)
5+
//
6+
// Licensed under Apache-v2: https://opensource.org/licenses/Apache-2.0
7+
//
8+
////////////////////////////////////////////////////////////////////////////
9+
110
using System;
211
using System.Collections.Generic;
312
using System.Linq;

0 commit comments

Comments
 (0)