Skip to content

Commit

Permalink
Update include paths in all source/header files
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Oct 18, 2020
1 parent a6441d8 commit aa40ea2
Show file tree
Hide file tree
Showing 77 changed files with 143 additions and 174 deletions.
2 changes: 1 addition & 1 deletion src/AudioBufferSource.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/AudioBufferSource.h"
#include "AudioBufferSource.h"

using namespace std;
using namespace openshot;
Expand Down
2 changes: 1 addition & 1 deletion src/AudioReaderSource.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/AudioReaderSource.h"
#include "AudioReaderSource.h"

using namespace std;
using namespace openshot;
Expand Down
2 changes: 1 addition & 1 deletion src/AudioResampler.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/AudioResampler.h"
#include "AudioResampler.h"

using namespace std;
using namespace openshot;
Expand Down
2 changes: 1 addition & 1 deletion src/CacheBase.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/CacheBase.h"
#include "CacheBase.h"

using namespace std;
using namespace openshot;
Expand Down
4 changes: 2 additions & 2 deletions src/CacheDisk.cpp
Expand Up @@ -28,8 +28,8 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/CacheDisk.h"
#include "../include/QtUtilities.h"
#include "CacheDisk.h"
#include "QtUtilities.h"
#include <Qt>
#include <QString>
#include <QTextStream>
Expand Down
2 changes: 1 addition & 1 deletion src/CacheMemory.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/CacheMemory.h"
#include "CacheMemory.h"

using namespace std;
using namespace openshot;
Expand Down
6 changes: 4 additions & 2 deletions src/ChunkReader.cpp
Expand Up @@ -28,8 +28,10 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/ChunkReader.h"
#include "../include/FFmpegReader.h"
#include "ChunkReader.h"
#include "FFmpegReader.h"

#include <QDir>

using namespace openshot;

Expand Down
12 changes: 3 additions & 9 deletions src/ChunkReader.h
Expand Up @@ -32,18 +32,12 @@
#define OPENSHOT_CHUNK_READER_H

#include "ReaderBase.h"
#include <cmath>
#include <ctime>
#include <iostream>
#include <fstream>
#include <omp.h>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <memory>
#include <QtCore/QDir>

#include "Frame.h"
#include "Json.h"
#include "CacheMemory.h"
#include "Exceptions.h"

namespace openshot
{
Expand Down
2 changes: 1 addition & 1 deletion src/ChunkWriter.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/ChunkWriter.h"
#include "ChunkWriter.h"

using namespace openshot;

Expand Down
18 changes: 9 additions & 9 deletions src/Clip.cpp
Expand Up @@ -28,17 +28,17 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/Clip.h"
#include "../include/FFmpegReader.h"
#include "../include/FrameMapper.h"
#include "Clip.h"
#include "FFmpegReader.h"
#include "FrameMapper.h"
#ifdef USE_IMAGEMAGICK
#include "../include/ImageReader.h"
#include "../include/TextReader.h"
#include "ImageReader.h"
#include "TextReader.h"
#endif
#include "../include/QtImageReader.h"
#include "../include/ChunkReader.h"
#include "../include/DummyReader.h"
#include "../include/Timeline.h"
#include "QtImageReader.h"
#include "ChunkReader.h"
#include "DummyReader.h"
#include "Timeline.h"

using namespace openshot;

Expand Down
2 changes: 1 addition & 1 deletion src/ClipBase.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/ClipBase.h"
#include "ClipBase.h"

using namespace openshot;

Expand Down
2 changes: 1 addition & 1 deletion src/Color.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/Color.h"
#include "Color.h"

using namespace openshot;

Expand Down
2 changes: 1 addition & 1 deletion src/Coordinate.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/Coordinate.h"
#include "Coordinate.h"

using namespace std;
using namespace openshot;
Expand Down
2 changes: 1 addition & 1 deletion src/CrashHandler.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/CrashHandler.h"
#include "CrashHandler.h"

using namespace std;
using namespace openshot;
Expand Down
2 changes: 1 addition & 1 deletion src/DecklinkInput.cpp
Expand Up @@ -53,7 +53,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/DecklinkInput.h"
#include "DecklinkInput.h"

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion src/DecklinkOutput.cpp
Expand Up @@ -53,7 +53,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/DecklinkOutput.h"
#include "DecklinkOutput.h"

using namespace std;

Expand Down
2 changes: 1 addition & 1 deletion src/DecklinkReader.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/DecklinkReader.h"
#include "DecklinkReader.h"

using namespace openshot;

Expand Down
2 changes: 1 addition & 1 deletion src/DecklinkWriter.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/DecklinkWriter.h"
#include "DecklinkWriter.h"

using namespace openshot;

Expand Down
2 changes: 1 addition & 1 deletion src/DummyReader.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/DummyReader.h"
#include "DummyReader.h"

using namespace openshot;

Expand Down
2 changes: 1 addition & 1 deletion src/EffectBase.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/EffectBase.h"
#include "EffectBase.h"

using namespace openshot;

Expand Down
3 changes: 1 addition & 2 deletions src/EffectInfo.cpp
Expand Up @@ -28,8 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/EffectInfo.h"

#include "EffectInfo.h"

using namespace openshot;

Expand Down
2 changes: 1 addition & 1 deletion src/FFmpegReader.cpp
Expand Up @@ -31,7 +31,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/FFmpegReader.h"
#include "FFmpegReader.h"

#include <thread> // for std::this_thread::sleep_for
#include <chrono> // for std::chrono::milliseconds
Expand Down
2 changes: 1 addition & 1 deletion src/FFmpegWriter.cpp
Expand Up @@ -31,7 +31,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/FFmpegWriter.h"
#include "FFmpegWriter.h"

#include <iostream>

Expand Down
2 changes: 1 addition & 1 deletion src/Fraction.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/Fraction.h"
#include "Fraction.h"

using namespace openshot;

Expand Down
2 changes: 1 addition & 1 deletion src/Frame.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/Frame.h"
#include "Frame.h"
#include "JuceHeader.h"

#include <QApplication>
Expand Down
2 changes: 1 addition & 1 deletion src/FrameMapper.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/FrameMapper.h"
#include "FrameMapper.h"

using namespace std;
using namespace openshot;
Expand Down
2 changes: 1 addition & 1 deletion src/ImageReader.cpp
Expand Up @@ -31,7 +31,7 @@
// Require ImageMagick support
#ifdef USE_IMAGEMAGICK

#include "../include/ImageReader.h"
#include "ImageReader.h"

using namespace openshot;

Expand Down
2 changes: 1 addition & 1 deletion src/ImageWriter.cpp
Expand Up @@ -34,7 +34,7 @@
//Require ImageMagick support
#ifdef USE_IMAGEMAGICK

#include "../include/ImageWriter.h"
#include "ImageWriter.h"

using namespace openshot;

Expand Down
2 changes: 1 addition & 1 deletion src/Json.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/Json.h"
#include "Json.h"

const Json::Value openshot::stringToJson(const std::string value) {

Expand Down
2 changes: 1 addition & 1 deletion src/KeyFrame.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/KeyFrame.h"
#include "KeyFrame.h"
#include <algorithm>
#include <functional>
#include <utility>
Expand Down
2 changes: 1 addition & 1 deletion src/PlayerBase.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/PlayerBase.h"
#include "PlayerBase.h"

using namespace openshot;

Expand Down
2 changes: 1 addition & 1 deletion src/Point.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/Point.h"
#include "Point.h"

using namespace std;
using namespace openshot;
Expand Down
2 changes: 1 addition & 1 deletion src/Profiles.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../include/Profiles.h"
#include "Profiles.h"

using namespace openshot;

Expand Down
2 changes: 1 addition & 1 deletion src/Qt/AudioPlaybackThread.cpp
Expand Up @@ -29,7 +29,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../../include/Qt/AudioPlaybackThread.h"
#include "AudioPlaybackThread.h"

#include <thread> // for std::this_thread::sleep_for
#include <chrono> // for std::chrono::milliseconds
Expand Down
8 changes: 5 additions & 3 deletions src/Qt/PlayerDemo.cpp
Expand Up @@ -28,9 +28,11 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include <cstdio>
#include "../../include/QtPlayer.h"
#include "../../include/Qt/PlayerDemo.h"
#include <string>

#include "PlayerDemo.h"
#include "../QtPlayer.h"

#include <QMessageBox>
#include <QFileDialog>
#include <QWidget>
Expand Down
2 changes: 1 addition & 1 deletion src/Qt/PlayerPrivate.cpp
Expand Up @@ -29,7 +29,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../../include/Qt/PlayerPrivate.h"
#include "PlayerPrivate.h"

#include <thread> // for std::this_thread::sleep_for
#include <chrono> // for std::chrono milliseconds, high_resolution_clock
Expand Down
2 changes: 1 addition & 1 deletion src/Qt/VideoCacheThread.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../../include/Qt/VideoCacheThread.h"
#include "VideoCacheThread.h"
#include <algorithm>

#include <thread> // for std::this_thread::sleep_for
Expand Down
2 changes: 1 addition & 1 deletion src/Qt/VideoPlaybackThread.cpp
Expand Up @@ -29,7 +29,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../../include/Qt/VideoPlaybackThread.h"
#include "VideoPlaybackThread.h"

namespace openshot
{
Expand Down
2 changes: 1 addition & 1 deletion src/Qt/VideoRenderWidget.cpp
Expand Up @@ -28,7 +28,7 @@
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
*/

#include "../../include/Qt/VideoRenderWidget.h"
#include "VideoRenderWidget.h"
#include <QWidget>
#include <QImage>
#include <QPainter>
Expand Down

0 comments on commit aa40ea2

Please sign in to comment.