00001 //**************************************************************************/ 00002 // Copyright (c) 2009 Autodesk, Inc. 00003 // All rights reserved. 00004 // 00005 // Use of this software is subject to the terms of the Autodesk license 00006 // agreement provided at the time of installation or download, or which 00007 // otherwise accompanies this software in either electronic or hard copy form. 00008 // 00009 //**************************************************************************/ 00010 // DESCRIPTION: 00011 // CREATED: December 2009 00012 //**************************************************************************/ 00013 00014 namespace mudbox { 00015 00022 class MBDLL_DECL TrayAccessor : public Node 00023 { 00024 DECLARE_CLASS; 00025 public: 00027 static TrayAccessor* GetInstance(); 00028 00029 // This method adds and select a new item in a tray of the specified type. 00030 void AddAndSelectTrayItem( const QString itemType, const QString itemName, const QString iconName); 00031 00032 private: 00033 TrayAccessor() {} 00034 00035 static TrayAccessor *s_pThis; 00036 }; 00037 00038 }; // end of namespace mudbox