xsi_desktop.h

Go to the documentation of this file.
00001 //*****************************************************************************
00011 //*****************************************************************************
00012 
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016 
00017 #ifndef __XSIDESKTOP_H__
00018 #define __XSIDESKTOP_H__
00019 
00020 #include <xsi_siobject.h>
00021 #include <xsi_value.h>
00022 #include <xsi_status.h>
00023 
00024 #pragma warning(disable:4251)
00025 
00026 namespace XSI {
00027 
00028 class Layout;
00029 
00030 //*****************************************************************************
00055 //*****************************************************************************
00056 
00057 class SICPPSDKDECL Desktop : public SIObject
00058 {
00059 public:
00061     Desktop();
00062 
00064     ~Desktop();
00065 
00069     Desktop(const CRef& in_ref);
00070 
00074     Desktop(const Desktop& in_obj);
00075 
00080     bool IsA( siClassID in_ClassID) const;
00081 
00085     siClassID GetClassID() const;
00086 
00092     Desktop& operator=(const Desktop& in_obj);
00093 
00099     Desktop& operator=(const CRef& in_ref);
00100 
00104     Layout GetActiveLayout() const;
00105 
00111     CStatus PutActiveLayout( const Layout& in_layout );
00112 
00116     CRefArray GetLayouts() const;
00117 
00125     void RedrawUI() ;
00126 
00174     void SuspendWin32ControlsHook() ;
00175 
00179     void RestoreWin32ControlsHook() ;
00180 
00187     void* GetApplicationWindowHandle();
00188 
00189 
00190     private:
00191     Desktop * operator&() const;
00192     Desktop * operator&();
00193 };
00194 
00195 };
00196 #endif // __XSIDESKTOP_H__