Skip to content

Commit 0965384

Browse files
committed
VC++ - Fix up includes and add some more header guards
1 parent 0b965ca commit 0965384

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

CefSharp.Core/Cef.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
//
33
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
44

5+
#ifndef CEFSHARP_CORE_CEF_H_
6+
#define CEFSHARP_CORE_CEF_H_
7+
58
#pragma once
69

710
#include "Stdafx.h"
@@ -744,3 +747,4 @@ namespace CefSharp
744747
}
745748
};
746749
}
750+
#endif // CEFSHARP_CORE_CEF_H_

CefSharp.Core/CookieManager.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include "Internals\CefCompletionCallbackAdapter.h"
1010
#include "Internals\CefSetCookieCallbackAdapter.h"
1111
#include "Internals\CefDeleteCookiesCallbackAdapter.h"
12-
#include "Cef.h"
1312

1413
using namespace CefSharp::Internals;
1514

@@ -102,4 +101,4 @@ namespace CefSharp
102101

103102
return _cookieManager->FlushStore(wrapper);
104103
}
105-
}
104+
}

CefSharp.Core/Internals/CefCompletionCallbackAdapter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#pragma once
66

77
#include "Stdafx.h"
8-
#include "include/cef_cookie.h"
8+
#include "include\cef_callback.h"
99

1010
namespace CefSharp
1111
{
@@ -36,4 +36,4 @@ namespace CefSharp
3636
IMPLEMENT_REFCOUNTING(CefCompletionCallbackAdapter);
3737
};
3838
}
39-
}
39+
}

CefSharp.Core/Internals/ClientAdapter.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
//
33
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
44

5+
#ifndef CEFSHARP_CORE_INTERNALS_CLIENTADAPTER_H_
6+
#define CEFSHARP_CORE_INTERNALS_CLIENTADAPTER_H_
7+
58
#pragma once
69

710
#include "Stdafx.h"
@@ -200,3 +203,4 @@ namespace CefSharp
200203
};
201204
}
202205
}
206+
#endif // CEFSHARP_CORE_INTERNALS_CLIENTADAPTER_H_

0 commit comments

Comments
 (0)