tray.h

Go to the documentation of this file.
00001 //**************************************************************************/
00002 
00003 // Copyright (c) 2009 Autodesk, Inc.
00004 
00005 // All rights reserved.
00006 
00007 //
00008 
00009 // Use of this software is subject to the terms of the Autodesk license
00010 
00011 // agreement provided at the time of installation or download, or which
00012 
00013 // otherwise accompanies this software in either electronic or hard copy form.
00014 
00015 //
00016 
00017 //**************************************************************************/
00018 
00019 // DESCRIPTION:
00020 
00021 // CREATED: December 2009
00022 
00023 //**************************************************************************/
00024 
00025 
00026 
00027 namespace mudbox {
00028 
00029 
00030 
00032 
00034 
00036 
00038 
00040 
00042 
00043 class MBDLL_DECL TrayAccessor : public Node
00044 
00045 {
00046 
00047     DECLARE_CLASS;
00048 
00049 public:
00051     static TrayAccessor* GetInstance();
00052 
00053     // This method adds and select a new item in a tray of the specified type.
00054     void AddAndSelectTrayItem( const QString itemType, const QString itemName, const QString iconName);
00055 
00056 private:
00057 
00058     TrayAccessor() {}
00059 
00060     static TrayAccessor         *s_pThis;
00061 
00062 };
00063 
00064 
00065 
00066 }; // end of namespace mudbox
00067