Rename from cameraserver to cscore.

This is primarily to avoid header naming conflicts with wpilib.
This commit is contained in:
Peter Johnson
2016-11-05 22:11:55 -07:00
parent 891ce06312
commit f83ff41e47
50 changed files with 164 additions and 313 deletions

View File

@@ -5,16 +5,16 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#ifndef CAMERASERVER_H_
#define CAMERASERVER_H_
#ifndef CSCORE_H_
#define CSCORE_H_
/* C API */
#include "cameraserver_c.h"
#include "cscore_c.h"
#ifdef __cplusplus
/* C++ API */
#include "cameraserver_cpp.h"
#include "cameraserver_oo.h"
#include "cscore_cpp.h"
#include "cscore_oo.h"
#endif /* __cplusplus */
#endif /* CAMERASERVER_H_ */
#endif /* CSCORE_H_ */

View File

@@ -5,8 +5,8 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#ifndef CAMERASERVER_C_H_
#define CAMERASERVER_C_H_
#ifndef CSCORE_C_H_
#define CSCORE_C_H_
#include <stddef.h>
#include <stdint.h>
@@ -277,4 +277,4 @@ void CS_FreeEnumeratedVideoModes(CS_VideoMode* modes, int count);
}
#endif
#endif /* CAMERASERVER_C_H_ */
#endif /* CSCORE_C_H_ */

View File

@@ -5,8 +5,8 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#ifndef CAMERASERVER_CPP_H_
#define CAMERASERVER_CPP_H_
#ifndef CSCORE_CPP_H_
#define CSCORE_CPP_H_
#include <stdint.h>
@@ -18,7 +18,7 @@
#include "llvm/SmallVector.h"
#include "llvm/StringRef.h"
#include "cameraserver_c.h"
#include "cscore_c.h"
namespace cv {
class Mat;
@@ -272,4 +272,4 @@ llvm::ArrayRef<CS_Sink> EnumerateSinkHandles(
} // namespace cs
#endif // CAMERASERVER_CPP_H_
#endif // CSCORE_CPP_H_

View File

@@ -5,10 +5,10 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#ifndef CAMERASERVER_OO_H_
#define CAMERASERVER_OO_H_
#ifndef CSCORE_OO_H_
#define CSCORE_OO_H_
#include "cameraserver_cpp.h"
#include "cscore_cpp.h"
namespace cs {
@@ -401,6 +401,6 @@ class VideoListener {
} // namespace cs
#include "cameraserver_oo.inl"
#include "cscore_oo.inl"
#endif // CAMERASERVER_OO_H_
#endif // CSCORE_OO_H_

View File

@@ -5,8 +5,8 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#ifndef CAMERASERVER_OO_INL_
#define CAMERASERVER_OO_INL_
#ifndef CSCORE_OO_INL_
#define CSCORE_OO_INL_
namespace cs {
@@ -336,4 +336,4 @@ inline VideoListener::~VideoListener() {
} // namespace cs
#endif /* CAMERASERVER_OO_INL_ */
#endif /* CSCORE_OO_INL_ */