Fixed a bunch of missing includes and forward declares. I was trying to benchmark with precompiled headers off, but we'll have to do a bunch more cleanup before it's possible to disable that feature cleanly. Not reviewed.

master
James Cook 2009-06-23 21:59:31 +00:00
parent fcaa1ad46f
commit fe487f46e3
25 changed files with 54 additions and 9 deletions

View File

@ -64,6 +64,9 @@
#include "llmorphview.h"
#include "llmoveview.h"
#include "llparcel.h"
#include "llquantize.h"
#include "llrand.h"
#include "llregionhandle.h"
#include "llsdutil.h"
#include "llselectmgr.h"
#include "llsky.h"
@ -71,6 +74,7 @@
#include "llsmoothstep.h"
#include "llsidetray.h"
#include "llstatusbar.h"
#include "llteleportflags.h"
#include "llteleporthistory.h"
#include "lltool.h"
#include "lltoolcomp.h"

View File

@ -33,14 +33,19 @@
#ifndef LL_LLAPPVIEWER_H
#define LL_LLAPPVIEWER_H
#include "llallocator.h"
#include "llcontrol.h"
#include "llsys.h" // for LLOSInfo
class LLTextureCache;
class LLWorkerThread;
class LLTextureFetch;
class LLWatchdogTimeout;
class LLCommandLineParser;
class LLAllocator;
class LLFrameTimer;
class LLPumpIO;
class LLTextureCache;
class LLTextureFetch;
class LLTimer;
class LLVFS;
class LLWatchdogTimeout;
class LLWorkerThread;
class LLAppViewer : public LLApp

View File

@ -58,11 +58,13 @@
#include "lltexlayer.h"
// library includes
#include "lldir.h"
#include "lleconomy.h"
#include "llfloaterreg.h"
#include "llfocusmgr.h"
#include "llscrolllistctrl.h"
#include "llsdserialize.h"
#include "llvfs.h"
// When uploading multiple files, don't display any of them when uploading more than this number.
static const S32 FILE_COUNT_DISPLAY_THRESHOLD = 5;

View File

@ -41,6 +41,8 @@
#include "llmenugl.h"
#include "lluictrlfactory.h"
#include "llcachename.h"
#define MENU_ITEM_VIEW_PROFILE 0
#define MENU_ITEM_SEND_IM 1

View File

@ -34,6 +34,8 @@
#define LL_LLAVATARPROPERTIESPROCESSOR_H
#include "lluuid.h"
#include "llsingleton.h"
#include "v3dmath.h" // LLVector3d
#include <map>
/*

View File

@ -21,6 +21,7 @@
// other Linden headers
#include "stringize.h"
#include "llcapabilityprovider.h"
#include "message.h"
class LLCapabilityListener::CapabilityMappers: public LLSingleton<LLCapabilityListener::CapabilityMappers>
{

View File

@ -17,6 +17,7 @@
#include "llerror.h" // LOG_CLASS()
class LLCapabilityProvider;
class LLMessageSystem;
class LLSD;
class LLCapabilityListener

View File

@ -32,9 +32,10 @@
#include "llviewerprecompiledheaders.h"
#include "linden_common.h"
#include "llcaphttpsender.h"
#include "llhost.h"
LLCapHTTPSender::LLCapHTTPSender(const std::string& cap) :
mCap(cap)
{

View File

@ -37,6 +37,7 @@
#include "v3math.h"
#include "v4math.h"
#include "llquaternion.h"
#include "llrand.h"
#include "v4color.h"
#include "llwind.h"

View File

@ -56,10 +56,12 @@
#include "llviewerobject.h"
#include "llviewerregion.h"
#include "llresmgr.h"
#include "llbutton.h"
#include "lldir.h"
#include "llfloaterchat.h"
#include "llviewerstats.h"
#include "llvfile.h"
#include "lluictrlfactory.h"
#include "lltrans.h"

View File

@ -33,6 +33,7 @@
#ifndef LL_LLDYNAMICTEXTURE_H
#define LL_LLDYNAMICTEXTURE_H
#include "llcamera.h"
#include "llgl.h"
#include "llcoord.h"
#include "llimagegl.h"

View File

@ -35,6 +35,9 @@
#include "llhttpclient.h"
class LLHost;
class LLEventPoll
///< implements the viewer side of server-to-viewer pushed events.
{

View File

@ -35,6 +35,7 @@
#include "stdtypes.h"
#include "llsingleton.h"
#include "llstring.h"
#include <map>

View File

@ -33,6 +33,7 @@
#ifndef LL_LLHUDEFFECTPOINTAT_H
#define LL_LLHUDEFFECTPOINTAT_H
#include "llframetimer.h"
#include "llhudeffect.h"
class LLViewerObject;

View File

@ -33,6 +33,7 @@
#ifndef LL_LLIMVIEW_H
#define LL_LLIMVIEW_H
#include "lldarray.h"
#include "llmodaldialog.h"
#include "llinstantmessage.h"
#include "lluuid.h"

View File

@ -35,6 +35,8 @@
#include "llassettype.h"
#include "lldarray.h"
#include "llframetimer.h"
#include "llhttpclient.h"
#include "lluuid.h"
#include "llpermissionsflags.h"
#include "llstring.h"
@ -111,7 +113,7 @@ public:
LLInventoryModel();
~LLInventoryModel();
class fetchInventoryResponder: public LLHTTPClient::Responder
class fetchInventoryResponder : public LLHTTPClient::Responder
{
public:
fetchInventoryResponder(const LLSD& request_sd) : mRequestSD(request_sd) {};

View File

@ -34,8 +34,9 @@
#define LL_LLVIEWERCAMERA_H
#include "llcamera.h"
#include "lltimer.h"
#include "llsingleton.h"
#include "llstat.h"
#include "lltimer.h"
#include "m4math.h"
class LLCoordGL;

View File

@ -34,6 +34,7 @@
#define LL_LLVIEWERMESSAGE_H
#include "llinstantmessage.h"
#include "llpointer.h"
#include "lltransactiontypes.h"
#include "lluuid.h"
#include "stdenums.h"
@ -42,10 +43,11 @@
// Forward declarations
//
class LLColor4;
class LLViewerObject;
class LLInventoryObject;
class LLInventoryItem;
class LLMeanCollisionData;
class LLMessageSystem;
class LLViewerObject;
class LLViewerRegion;
//

View File

@ -64,6 +64,7 @@ class LLWorld;
class LLNameValue;
class LLNetMap;
class LLMessageSystem;
class LLPartSysData;
class LLPrimitive;
class LLPipeline;
class LLTextureEntry;

View File

@ -39,11 +39,13 @@
// common includes
#include "llstat.h"
#include "lldarrayptr.h"
#include "llmap.h" // *TODO: switch to std::map
#include "llstring.h"
// project includes
#include "llviewerobject.h"
class LLCamera;
class LLNetMap;
class LLDebugBeacon;

View File

@ -51,6 +51,7 @@
#include "llweb.h"
#include "llcapabilityprovider.h"
#include "llcapabilitylistener.h"
#include "m4math.h" // LLMatrix4
// Surface id's
#define LAND 1

View File

@ -39,6 +39,7 @@
#include <string>
#include <vector>
#include "imageids.h" // IMG_INVISIBLE
#include "llchat.h"
#include "lldrawpoolalpha.h"
#include "llviewerobject.h"
@ -49,6 +50,7 @@
#include "llvoavatardefines.h"
#include "lltexglobalcolor.h"
#include "lldriverparam.h"
#include "material_codes.h" // LL_MCODE_END
extern const LLUUID ANIM_AGENT_BODY_NOISE;
extern const LLUUID ANIM_AGENT_BREATHE_ROT;

View File

@ -43,6 +43,7 @@ class LLVivoxProtocolParser;
#include "llframetimer.h"
#include "llviewerregion.h"
#include "llcallingcard.h" // for LLFriendObserver
#include "m3math.h" // LLMatrix3
class LLVoiceClientParticipantObserver
{

View File

@ -37,6 +37,8 @@
#include "llviewerimage.h"
#include "llframetimer.h"
#include "llapr.h"
#include "m3math.h" // LLMatrix3
#include "m4math.h" // LLMatrix4
#include <map>
class LLViewerTextureAnim;
@ -158,12 +160,14 @@ public:
/*virtual*/ S32 setTEBumpmap(const U8 te, const U8 bump);
/*virtual*/ S32 setTEShiny(const U8 te, const U8 shiny);
/*virtual*/ S32 setTEFullbright(const U8 te, const U8 fullbright);
/*virtual*/ S32 setTEBumpShinyFullbright(const U8 te, const U8 bump);
/*virtual*/ S32 setTEMediaFlags(const U8 te, const U8 media_flags);
/*virtual*/ S32 setTEGlow(const U8 te, const F32 glow);
/*virtual*/ S32 setTEScale(const U8 te, const F32 s, const F32 t);
/*virtual*/ S32 setTEScaleS(const U8 te, const F32 s);
/*virtual*/ S32 setTEScaleT(const U8 te, const F32 t);
/*virtual*/ S32 setTETexGen(const U8 te, const U8 texgen);
/*virtual*/ S32 setTEMediaTexGen(const U8 te, const U8 media);
/*virtual*/ BOOL setMaterial(const U8 material);
void setTexture(const S32 face);

View File

@ -33,6 +33,7 @@
#ifndef LL_PIPELINE_H
#define LL_PIPELINE_H
#include "llcamera.h"
#include "llerror.h"
#include "lldarrayptr.h"
#include "lldqueueptr.h"