diff options
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llagentwearables.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llappearancemgr.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llassetuploadresponders.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llcallingcard.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llfavoritesbar.h | 1 | ||||
| -rw-r--r-- | indra/newview/llfloaterproperties.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/llfloaterworldmap.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/llfoldervieweventlistener.h | 2 | ||||
| -rw-r--r-- | indra/newview/llfolderviewitem.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/llgesturemgr.h | 2 | ||||
| -rw-r--r-- | indra/newview/llinventorybridge.h | 10 | ||||
| -rw-r--r-- | indra/newview/llinventorymodel.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/llinventorymodel.h | 5 | ||||
| -rw-r--r-- | indra/newview/lllocationinputctrl.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llpanelmaininventory.h | 3 | ||||
| -rw-r--r-- | indra/newview/llpanelpeople.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/llpreview.h | 2 | ||||
| -rw-r--r-- | indra/newview/llpreviewscript.h | 2 | ||||
| -rw-r--r-- | indra/newview/llsidepaneliteminfo.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/lltexturectrl.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/lltracker.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/llviewermessage.cpp | 1 | 
22 files changed, 27 insertions, 20 deletions
| diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 5dbbcd727c..17e7eea2f1 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -39,7 +39,7 @@  #include "llfloatercustomize.h"  #include "llfloaterinventory.h"  #include "llinventorybridge.h" -#include "llinventorymodel.h" +#include "llinventoryobserver.h"  #include "llinventorypanel.h"  #include "llnotify.h"  #include "llviewerregion.h" diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index e46cfe6af9..61c1081d22 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -38,7 +38,7 @@  #include "llfloatercustomize.h"  #include "llgesturemgr.h"  #include "llinventorybridge.h" -#include "llinventorymodel.h" +#include "llinventoryobserver.h"  #include "llnotifications.h"  #include "llpanelappearance.h"  #include "llsidetray.h" diff --git a/indra/newview/llassetuploadresponders.cpp b/indra/newview/llassetuploadresponders.cpp index 4d85ecb97c..38843c7221 100644 --- a/indra/newview/llassetuploadresponders.cpp +++ b/indra/newview/llassetuploadresponders.cpp @@ -40,7 +40,7 @@  #include "llfloaterbuycurrency.h"  #include "llfilepicker.h"  #include "llnotify.h" -#include "llinventorymodel.h" +#include "llinventoryobserver.h"  #include "llinventorypanel.h"  #include "llfloaterinventory.h"  #include "llpermissionsflags.h" diff --git a/indra/newview/llcallingcard.cpp b/indra/newview/llcallingcard.cpp index e8812d87ee..0b10255c2f 100644 --- a/indra/newview/llcallingcard.cpp +++ b/indra/newview/llcallingcard.cpp @@ -51,7 +51,7 @@  #include "llagent.h"  #include "llbutton.h" -//#include "llinventory.h" +#include "llinventoryobserver.h"  #include "llinventorymodel.h"  #include "llnotify.h"  #include "llresmgr.h" diff --git a/indra/newview/llfavoritesbar.h b/indra/newview/llfavoritesbar.h index e90d13f9d5..20a324c67c 100644 --- a/indra/newview/llfavoritesbar.h +++ b/indra/newview/llfavoritesbar.h @@ -35,6 +35,7 @@  #include "lluictrl.h" +#include "llinventoryobserver.h"  #include "llinventorymodel.h"  class LLFavoritesBarCtrl : public LLUICtrl, public LLInventoryObserver diff --git a/indra/newview/llfloaterproperties.cpp b/indra/newview/llfloaterproperties.cpp index 928126bff9..e0d4a59d9d 100644 --- a/indra/newview/llfloaterproperties.cpp +++ b/indra/newview/llfloaterproperties.cpp @@ -44,6 +44,7 @@  #include "llbutton.h"  #include "llcheckboxctrl.h"  #include "llavataractions.h" +#include "llinventoryobserver.h"  #include "llinventorymodel.h"  #include "lllineeditor.h"  //#include "llspinctrl.h" diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp index 7d2eb98111..85847e5fce 100644 --- a/indra/newview/llfloaterworldmap.cpp +++ b/indra/newview/llfloaterworldmap.cpp @@ -51,6 +51,7 @@  #include "llfloaterreg.h"		// getTypedInstance()  #include "llfocusmgr.h"  #include "llinventorymodel.h" +#include "llinventoryobserver.h"  #include "lllandmarklist.h"  #include "lllineeditor.h"  #include "llregionhandle.h" diff --git a/indra/newview/llfoldervieweventlistener.h b/indra/newview/llfoldervieweventlistener.h index 60ece75cea..473d0be912 100644 --- a/indra/newview/llfoldervieweventlistener.h +++ b/indra/newview/llfoldervieweventlistener.h @@ -34,6 +34,8 @@  #include "lldarray.h"	// JAMESDEBUG convert to std::vector  #include "llfoldertype.h"  #include "llfontgl.h"	// just for StyleFlags enum +#include "llinventorytype.h" +#include "llpermissionsflags.h"  #include "llpointer.h" diff --git a/indra/newview/llfolderviewitem.cpp b/indra/newview/llfolderviewitem.cpp index 6fdaefd21a..102651f432 100644 --- a/indra/newview/llfolderviewitem.cpp +++ b/indra/newview/llfolderviewitem.cpp @@ -38,7 +38,6 @@  #include "llfoldervieweventlistener.h"  #include "llinventorybridge.h"	// for LLItemBridge in LLInventorySort::operator()  #include "llinventoryfilter.h" -#include "llinventorymodel.h"	// *TODO: make it take a pointer to an inventory-model interface  #include "llviewercontrol.h"	// gSavedSettings  #include "llviewerwindow.h"		// Argh, only for setCursor() diff --git a/indra/newview/llgesturemgr.h b/indra/newview/llgesturemgr.h index 947773d66d..c8b26f7309 100644 --- a/indra/newview/llgesturemgr.h +++ b/indra/newview/llgesturemgr.h @@ -38,7 +38,7 @@  #include <vector>  #include "llassetstorage.h"	// LLAssetType -#include "llinventorymodel.h" +#include "llinventoryobserver.h"  #include "llsingleton.h"  #include "llviewerinventory.h" diff --git a/indra/newview/llinventorybridge.h b/indra/newview/llinventorybridge.h index 3ffeb55d6c..4c7b0a0517 100644 --- a/indra/newview/llinventorybridge.h +++ b/indra/newview/llinventorybridge.h @@ -33,14 +33,16 @@  #ifndef LL_LLINVENTORYBRIDGE_H  #define LL_LLINVENTORYBRIDGE_H -#include "llfloaterproperties.h" -#include "llwearable.h" -#include "llviewercontrol.h"  #include "llcallingcard.h" -#include "llinventorymodel.h" +#include "llfloaterproperties.h"  #include "llfoldervieweventlistener.h" +#include "llinventorymodel.h" +#include "llinventoryobserver.h" +#include "llviewercontrol.h" +#include "llwearable.h"  class LLInventoryPanel; +class LLInventoryModel;  class LLMenuGL;  enum EInventoryIcon diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index ffe5f7181d..a8e5c4c216 100644 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -39,6 +39,7 @@  #include "llfloaterinventory.h"  #include "llinventorybridge.h"  #include "llinventoryfunctions.h" +#include "llinventoryobserver.h"  #include "llwindow.h"  #include "llviewercontrol.h"  #include "llpreview.h"  diff --git a/indra/newview/llinventorymodel.h b/indra/newview/llinventorymodel.h index bd64591194..3c1f606d5c 100644 --- a/indra/newview/llinventorymodel.h +++ b/indra/newview/llinventorymodel.h @@ -46,11 +46,6 @@  #include <string>  #include <vector> -// ! REFACTOR ! Remove llinventoryobservers.h and have other files that need it explicitly  -// include llinventoryobservers.h instead of llinventorymodel.h .  This will reduce dependency on -// llinventorymodel.h. -#include "llinventoryobserver.h"  -  class LLInventoryObserver;  class LLInventoryObject;  class LLInventoryItem; diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp index 8fe317a292..7e35cfa04c 100644 --- a/indra/newview/lllocationinputctrl.cpp +++ b/indra/newview/lllocationinputctrl.cpp @@ -45,7 +45,7 @@  #include "lltooltip.h"  // newview includes -#include "llinventorymodel.h" +#include "llinventoryobserver.h"  #include "lllandmarkactions.h"  #include "lllandmarklist.h"  #include "lllocationhistory.h" diff --git a/indra/newview/llpanelmaininventory.h b/indra/newview/llpanelmaininventory.h index 29e9baa6cf..fbc0f09c50 100644 --- a/indra/newview/llpanelmaininventory.h +++ b/indra/newview/llpanelmaininventory.h @@ -35,7 +35,8 @@  #define LL_LLPANELMAININVENTORY_H
  #include "llpanel.h"
 -#include "llinventorymodel.h"
 +#include "llinventoryobserver.h"
 +
  #include "llfolderview.h"
  class LLFolderViewItem;
 diff --git a/indra/newview/llpanelpeople.cpp b/indra/newview/llpanelpeople.cpp index 2bbb2b7153..69edccf09f 100644 --- a/indra/newview/llpanelpeople.cpp +++ b/indra/newview/llpanelpeople.cpp @@ -54,6 +54,7 @@  #include "llfriendcard.h"  #include "llgroupactions.h"  #include "llgrouplist.h" +#include "llinventoryobserver.h"  #include "llpanelpeoplemenus.h"  #include "llrecentpeople.h"  #include "llviewercontrol.h"		// for gSavedSettings diff --git a/indra/newview/llpreview.h b/indra/newview/llpreview.h index 506c135ca6..3b9f7f9882 100644 --- a/indra/newview/llpreview.h +++ b/indra/newview/llpreview.h @@ -37,7 +37,7 @@  #include "llresizehandle.h"  #include "llpointer.h"  #include "lluuid.h" -#include "llinventorymodel.h"	// LLInventoryObserver +#include "llinventoryobserver.h"  #include <map>  class LLInventoryItem; diff --git a/indra/newview/llpreviewscript.h b/indra/newview/llpreviewscript.h index a00f580e32..28a409d3ee 100644 --- a/indra/newview/llpreviewscript.h +++ b/indra/newview/llpreviewscript.h @@ -41,7 +41,6 @@  #include "lliconctrl.h"  #include "llframetimer.h" -  class LLMessageSystem;  class LLTextEditor;  class LLButton; @@ -52,6 +51,7 @@ struct 	LLEntryAndEdCore;  class LLMenuBarGL;  class LLFloaterScriptSearch;  class LLKeywordToken; +class LLViewerInventoryItem;  // Inner, implementation class.  LLPreviewScript and LLLiveLSLEditor each own one of these.  class LLScriptEdCore : public LLPanel diff --git a/indra/newview/llsidepaneliteminfo.cpp b/indra/newview/llsidepaneliteminfo.cpp index 9d2960fbed..a3efea7b7e 100644 --- a/indra/newview/llsidepaneliteminfo.cpp +++ b/indra/newview/llsidepaneliteminfo.cpp @@ -41,6 +41,7 @@  #include "llfloaterreg.h"
  #include "llgroupactions.h"
  #include "llinventorymodel.h"
 +#include "llinventoryobserver.h"
  #include "lllineeditor.h"
  #include "llradiogroup.h"
  #include "llviewercontrol.h"
 diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp index de00ca8420..5f7c2f5080 100644 --- a/indra/newview/lltexturectrl.cpp +++ b/indra/newview/lltexturectrl.cpp @@ -48,7 +48,7 @@  #include "llfoldervieweventlistener.h"  #include "llinventory.h"  #include "llinventoryfunctions.h" -#include "llinventorymodel.h" +#include "llinventoryobserver.h"  #include "llinventorypanel.h"  #include "llfloaterinventory.h"  #include "lllineeditor.h" diff --git a/indra/newview/lltracker.cpp b/indra/newview/lltracker.cpp index 1a61717658..407cc23d0d 100644 --- a/indra/newview/lltracker.cpp +++ b/indra/newview/lltracker.cpp @@ -55,6 +55,7 @@  #include "llhudtext.h"  #include "llhudview.h"  #include "llinventorymodel.h" +#include "llinventoryobserver.h"  #include "lllandmarklist.h"  #include "llsky.h"  #include "llui.h" diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index f0c1823def..7f25e567d0 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -89,6 +89,7 @@  #include "llhudeffecttrail.h"  #include "llhudmanager.h"  #include "llinventorymodel.h" +#include "llinventoryobserver.h"  #include "llinventorypanel.h"  #include "llfloaterinventory.h"  #include "llmenugl.h" | 
