Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.h removal cleanup #7990

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions libs/openFrameworks/3d/ofEasyCam.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#pragma once

#include "ofCamera.h"
//#include "ofEvents.h"
class ofEventListeners;
class ofEventArgs;
//#include "ofRectangle.h"
class ofRectangle;

#define GLM_FORCE_CTOR_INIT
Expand Down
1 change: 0 additions & 1 deletion libs/openFrameworks/events/ofEvents.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include "ofEventUtils.h"
#include "ofFpsCounter.h"
//#include "ofTimer.h"
#include "ofTimerFps.h"

#define GLM_FORCE_CTOR_INIT
Expand Down
1 change: 0 additions & 1 deletion libs/openFrameworks/gl/ofBufferObject.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "ofBufferObject.h"
#include "ofAppRunner.h"
//#include "ofPixels.h"
#include "ofGLUtils.h"


Expand Down
1 change: 0 additions & 1 deletion libs/openFrameworks/gl/ofGLProgrammableRenderer.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "ofPolyline.h"
#include "ofBitmapFont.h"
#include "ofPath.h"
//#include "ofMaterialBaseTypes.h"

class ofShapeTessellation;
class ofFbo;
Expand Down
2 changes: 0 additions & 2 deletions libs/openFrameworks/gl/ofMaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#include <glm/vec2.hpp>
#include <glm/gtx/transform.hpp>

//#include <typeinfo>

using std::shared_ptr;
using std::string;

Expand Down
7 changes: 0 additions & 7 deletions libs/openFrameworks/gl/ofShader.cpp
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
#include "ofBufferObject.h"
#include "ofCubeMap.h"
// #include "ofFileUtils.h"
#include "ofGLProgrammableRenderer.h"
// #include "ofGraphics.h"
#include "ofLight.h"
// #include "ofMatrix3x3.h"
// #include "ofMatrix4x4.h"
// #include "ofParameter.h"
#include "ofShader.h"
#include "ofShadow.h"
// #include "ofTexture.h"
// #include "ofUtils.h"
#ifdef TARGET_ANDROID
#include "ofxAndroidUtils.h"
#endif
Expand Down
2 changes: 0 additions & 2 deletions libs/openFrameworks/graphics/ofPolyline.inl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
#include "ofGraphicsBaseTypes.h"
#include "ofVectorMath.h"
#include "ofAppRunner.h"
//#include "ofMath.h"
#include "ofLog.h"
//#include "ofConstants.h"

//----------------------------------------------------------
template<class T>
Expand Down
2 changes: 0 additions & 2 deletions libs/openFrameworks/math/ofVec3f.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/vec3.hpp>

//#include <iostream>

/// \brief ofVec3f is a class for storing a three dimensional vector.
///
/// Moving through space requires knowledge of where things are and where they are
Expand Down
5 changes: 0 additions & 5 deletions libs/openFrameworks/math/ofVectorMath.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
#pragma once

//#include "ofVec3f.h"
class ofMatrix3x3;
// MARK: ofMatrix4x4 already contains some of commented out includes here.
//#include "ofVec2f.h"
//#include "ofVec4f.h"
//#include "ofMatrix3x3.h"
#include "ofMatrix4x4.h"
#include "ofQuaternion.h"

Expand Down
1 change: 0 additions & 1 deletion libs/openFrameworks/sound/ofAVEngineSoundPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#ifdef OF_SOUND_PLAYER_AV_ENGINE

#include "ofSoundBaseTypes.h"
//#include "ofEvents.h"
class ofEventArgs;

// FIXME: some can be moved to .mm
Expand Down
1 change: 0 additions & 1 deletion libs/openFrameworks/sound/ofSoundBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#pragma once

#include <cstdint> // MARK: uint64_t msys2 only complain about this one it seems.
//#include <cstddef>
#include <vector>
#include <string>

Expand Down
5 changes: 0 additions & 5 deletions libs/openFrameworks/sound/ofSoundPlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
#define OF_SOUND_PLAYER_TYPE ofAVEngineSoundPlayer
#endif

//#ifdef OF_SOUND_PLAYER_QUICKTIME
//#include "ofQuicktimeSoundPlayer.h"
//#define OF_SOUND_PLAYER_TYPE ofQuicktimeSoundPlayer
//#endif

#ifdef OF_SOUND_PLAYER_FMOD
#include "ofFmodSoundPlayer.h"
#define OF_SOUND_PLAYER_TYPE ofFmodSoundPlayer
Expand Down
1 change: 0 additions & 1 deletion libs/openFrameworks/types/ofColor.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#define GLM_FORCE_CTOR_INIT
#define GLM_ENABLE_EXPERIMENTAL
// #include <glm/ext/scalar_common.hpp>
#include <glm/gtx/wrap.hpp>
#include <iostream>
#include <limits>
Expand Down
5 changes: 0 additions & 5 deletions libs/openFrameworks/utils/ofConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ enum ofTargetPlatform{
#elif defined( __APPLE_CC__)
#define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
#include <TargetConditionals.h>
// #include <unistd.h>

#if (TARGET_OS_IPHONE || TARGET_OS_IOS || TARGET_OS_SIMULATOR || TARGET_IPHONE_SIMULATOR) && !TARGET_OS_TV && !TARGET_OS_WATCH
#define TARGET_OF_IPHONE
Expand Down Expand Up @@ -191,7 +190,6 @@ enum ofTargetPlatform{
#define __MACOSX_CORE__
#endif
#include "GL/glew.h"
// #include <ApplicationServices/ApplicationServices.h>

#if defined(__LITTLE_ENDIAN__)
#define TARGET_LITTLE_ENDIAN // intel cpu
Expand All @@ -204,8 +202,6 @@ enum ofTargetPlatform{

#ifdef TARGET_LINUX

// #include <unistd.h>

#ifdef TARGET_LINUX_ARM
#ifdef TARGET_RASPBERRY_PI
#include <bcm_host.h>
Expand Down Expand Up @@ -259,7 +255,6 @@ enum ofTargetPlatform{

#ifdef TARGET_ANDROID
#include <typeinfo>
// #include <unistd.h>
#include <GLES/gl.h>
#define GL_GLEXT_PROTOTYPES
#include <GLES/glext.h>
Expand Down
1 change: 0 additions & 1 deletion libs/openFrameworks/utils/ofLog.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

// Only private ofFile file;
#include "ofFileUtils.h"
//#include "ofUtils.h" //ofVAArgsToString
#include <sstream>


Expand Down
3 changes: 0 additions & 3 deletions libs/openFrameworks/utils/ofUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
#include <chrono>
#include <iomanip> //for setprecision
#include <optional>

// #include <random>
#include <sstream>
// #include <type_traits>

#include "ofRandomDistributions.h"
#include "ofRandomEngine.h"
Expand Down
1 change: 0 additions & 1 deletion libs/openFrameworks/video/ofDirectShowPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
//To allow for QuickTime video playback install the K-Lite Mega Codec Pack 10.2

#pragma once
//#include "ofConstants.h"
#include "ofVideoBaseTypes.h"

template<typename T>
Expand Down
1 change: 0 additions & 1 deletion libs/openFrameworks/video/ofMediaFoundationPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include <d3d11_1.h>
#include <wrl.h>
#include <wincodec.h>
//#include "ofConstants.h"
#include "ofVideoBaseTypes.h"
#include "ofPixels.h" //mSrcPixels
#include "ofFbo.h"
Expand Down
1 change: 0 additions & 1 deletion libs/openFrameworks/video/ofVideoPlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include "ofTexture.h"
#include "ofVideoBaseTypes.h"
//#include "ofConstants.h"

//---------------------------------------------
class ofVideoPlayer : public ofBaseVideoDraws {
Expand Down