Merge pull request #296 from OpenShot/std-prefixes

Remove all 'using namespace' directives from headers
This commit is contained in:
Jonathan Thomas
2019-11-17 16:18:14 -06:00
committed by GitHub
110 changed files with 1034 additions and 1132 deletions

View File

@@ -42,9 +42,6 @@
#include "Point.h"
#include "Json.h"
using namespace std;
using namespace openshot;
namespace openshot {
/**
@@ -92,8 +89,8 @@ namespace openshot {
double Bernstein(int64_t n, int64_t i, double t);
public:
vector<Point> Points; ///< Vector of all Points
vector<Coordinate> Values; ///< Vector of all Values (i.e. the processed coordinates from the curve)
std::vector<Point> Points; ///< Vector of all Points
std::vector<Coordinate> Values; ///< Vector of all Values (i.e. the processed coordinates from the curve)
/// Default constructor for the Keyframe class
Keyframe();
@@ -160,9 +157,9 @@ namespace openshot {
bool IsIncreasing(int index);
/// Get and Set JSON methods
string Json(); ///< Generate JSON string of this object
std::string Json(); ///< Generate JSON string of this object
Json::Value JsonValue(); ///< Generate Json::JsonValue for this object
void SetJson(string value); ///< Load JSON string into this object
void SetJson(std::string value); ///< Load JSON string into this object
void SetJsonValue(Json::Value root); ///< Load Json::JsonValue into this object
/**