Skip to content

Commit

Permalink
Merge pull request #527 from Lunanne/fix-circular-dependency-pnNucleu…
Browse files Browse the repository at this point in the history
…sInc-pnTimer

Fixes circular dependency between pnNucleusInc and pnTimer
  • Loading branch information
Deledrius committed Aug 22, 2016
2 parents 41cfa03 + 61ed0a8 commit 75cbb52
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Sources/Plasma/Apps/plClient/plClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plNetClient/plNetClientMgr.h"
#include "plAvatar/plAvatarMgr.h"
#include "plScene/plRelevanceMgr.h"
#include "pnTimer/plTimerCallbackManager.h"
#include "plTimerCallbackManager.h"
#include "pfAudio/plListener.h"
#include "pnMessage/plCmdIfaceModMsg.h"
#include "plMessage/plRoomLoadNotifyMsg.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com

#include "pnSceneObject/plSceneObject.h"
#include "pnSceneObject/plCoordinateInterface.h"
#include "pnTimer/plTimerCallbackManager.h"
#include "plTimerCallbackManager.h"

#include "plgDispatch.h"
#include "hsResMgr.h"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Plasma/FeatureLib/pfJournalBook/pfJournalBook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com

// For notify sends
#include "pnMessage/plNotifyMsg.h"
#include "pnTimer/plTimerCallbackManager.h"
#include "plTimerCallbackManager.h"
#include "plMessage/plTimerCallbackMsg.h"

// For custom cursors
Expand Down
2 changes: 1 addition & 1 deletion Sources/Plasma/FeatureLib/pfPython/cyMisc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plMessage/plNetVoiceListMsg.h"
#include "pnMessage/plClientMsg.h"
#include "pnMessage/plCameraMsg.h"
#include "pnTimer/plTimerCallbackManager.h"
#include "plTimerCallbackManager.h"
#include "plVault/plVault.h"
#include "pnNetCommon/plCreatableUuid.h"
#include "plNetClient/plNetClientMgr.h"
Expand Down
4 changes: 3 additions & 1 deletion Sources/Plasma/NucleusLib/inc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ set(pnNucleusInc_HEADERS
plProfile.h
plProfileManager.h
plRefFlags.h
plTimerCallbackManager.h
pnAllCreatables.h
pnNucleusCreatables.h
pnTimerCreatable.h
)

set(pnNucleusInc_SOURCES
Expand All @@ -33,7 +35,7 @@ set(pnNucleusInc_SOURCES
)

add_library(pnNucleusInc STATIC ${pnNucleusInc_HEADERS} ${pnNucleusInc_SOURCES})
target_link_libraries(pnNucleusInc CoreLib pnTimer)
target_link_libraries(pnNucleusInc CoreLib)

source_group("Header Files" FILES ${pnNucleusInc_HEADERS})
source_group("Source Files" FILES ${pnNucleusInc_SOURCES})
2 changes: 1 addition & 1 deletion Sources/Plasma/NucleusLib/inc/pnNucleusCreatables.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ REGISTER_NONCREATABLE( plDispatchBase );
#include "pnModifier/pnModifierCreatable.h"
#include "pnNetCommon/pnNetCommonCreatable.h"
#include "pnSceneObject/pnSceneObjectCreatable.h"
#include "pnTimer/pnTimerCreatable.h"
#include "pnTimerCreatable.h"

#endif // pnNucleusCreatables_inc
2 changes: 0 additions & 2 deletions Sources/Plasma/NucleusLib/pnTimer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ include_directories("../../NucleusLib/inc")

set(pnTimer_HEADERS
plTimedValue.h
plTimerCallbackManager.h
pnBuildDates.h
pnTimerCreatable.h
)

set(pnTimer_SOURCES
Expand Down
2 changes: 1 addition & 1 deletion Sources/Plasma/PubUtilLib/plAvatar/plCoopCoordinator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "pnNetCommon/plNetApp.h"
#include "plNetClient/plNetClientMgr.h"
#include "plPhysical.h"
#include "pnTimer/plTimerCallbackManager.h"
#include "plTimerCallbackManager.h"
#include "plMessage/plTimerCallbackMsg.h"

const unsigned kAbortTimer = 1;
Expand Down
2 changes: 1 addition & 1 deletion Sources/Plasma/PubUtilLib/plModifier/plLogicModifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "HeadSpin.h"
#include "plLogicModifier.h"
#include "plgDispatch.h"
#include "pnTimer/plTimerCallbackManager.h"
#include "plTimerCallbackManager.h"
#include "pnModifier/plConditionalObject.h"
#include "plPhysical/plDetectorModifier.h"
#include "plMessage/plCondRefMsg.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "plStatusLog/plStatusLog.h"

#include "plMessage/plTimerCallbackMsg.h"
#include "pnTimer/plTimerCallbackManager.h"
#include "plTimerCallbackManager.h"

#include "plMessage/plSimStateMsg.h"
//#include "plHavok1\plHKPhysical.h"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Plasma/PubUtilLib/plResMgr/plResManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "hsSTLStream.h"

#include "hsTimer.h"
#include "pnTimer/plTimerCallbackManager.h"
#include "plTimerCallbackManager.h"

#include "plScene/plSceneNode.h"
#include "pnKeyedObject/hsKeyedObject.h"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Plasma/PubUtilLib/plStatGather/plAutoProfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "hsStream.h"
#include "hsTimer.h"
#include "plMessage/plAgeLoadedMsg.h"
#include "pnTimer/plTimerCallbackManager.h"
#include "plTimerCallbackManager.h"
#include "plMessage/plTimerCallbackMsg.h"
#include "plAvatar/plAvatarMgr.h"
#include "plAvatar/plArmatureMod.h"
Expand Down

0 comments on commit 75cbb52

Please sign in to comment.