00001
00011
00012
00013 #if (_MSC_VER > 1000) || defined(SGI_COMPILER)
00014 #pragma once
00015 #endif
00016
00017 #ifndef __XSI_VIEWNOTIF_H__
00018 #define __XSI_VIEWNOTIF_H__
00019
00020 #include "sicppsdk.h"
00021 #include "xsi_status.h"
00022 #include "xsi_ref.h"
00023 #include "xsi_string.h"
00024 #include "xsi_longarray.h"
00025 #include "xsi_value.h"
00026
00027 namespace XSI {
00028
00029
00038
00039 class SICPPSDKDECL CSelectionChangeNotification
00040 {
00041 public:
00042
00044 CSelectionChangeNotification();
00045
00047 ~CSelectionChangeNotification();
00048
00052 const CRefArray& GetSelectionList() const;
00053
00054 private:
00055
00056 CSelectionChangeNotification (const CSelectionChangeNotification &);
00057 CSelectionChangeNotification * operator&() const;
00058 CSelectionChangeNotification * operator&();
00059
00060 void* m_pImpl;
00061
00062 };
00063
00064
00072
00073 class SICPPSDKDECL CValueChangeNotification
00074 {
00075 public:
00076
00078 CValueChangeNotification();
00079
00081 ~CValueChangeNotification();
00082
00086 const CRef& GetOwner() const;
00087
00091 const CString& GetComponentName() const;
00092
00093 private:
00094
00095 CValueChangeNotification (const CValueChangeNotification &);
00096 CValueChangeNotification * operator&() const;
00097 CValueChangeNotification * operator&();
00098
00099 void* m_pImpl;
00100 };
00101
00102
00107
00108 class SICPPSDKDECL CTimeChangeNotification
00109 {
00110 public:
00111
00113 CTimeChangeNotification();
00114
00116 ~CTimeChangeNotification();
00117
00121 const double GetTime() const;
00122
00127 const LONG GetState() const;
00128
00129 private:
00130
00131 CTimeChangeNotification (const CTimeChangeNotification &);
00132 CTimeChangeNotification * operator&() const;
00133 CTimeChangeNotification * operator&();
00134
00135 void* m_pImpl;
00136
00137 };
00138
00139
00144
00145 class SICPPSDKDECL CWindowNotification
00146 {
00147 public:
00148
00150 CWindowNotification();
00151
00153 ~CWindowNotification();
00154
00161 void GetPosition(INT &x, INT &y, INT &width, INT &height) const;
00162
00166 XSI::siWindowChangeState GetWindowState ( ) const;
00167
00168
00169 private:
00170
00171 CWindowNotification (const CWindowNotification &);
00172 CWindowNotification * operator&() const;
00173 CWindowNotification * operator&();
00174
00175 void* m_pImpl;
00176
00177 };
00178
00179
00189
00190 class SICPPSDKDECL CObjectAddedNotification
00191 {
00192 public:
00193
00195 CObjectAddedNotification();
00196
00198 ~CObjectAddedNotification();
00199
00203 const CRef& GetObjectAdded() const;
00204
00205 private:
00206
00207 CObjectAddedNotification (const CObjectAddedNotification &);
00208 CObjectAddedNotification * operator&() const;
00209 CObjectAddedNotification * operator&();
00210
00211 void* m_pImpl;
00212 };
00213
00214
00224
00225 class SICPPSDKDECL CObjectRemovedNotification
00226 {
00227 public:
00228
00230 CObjectRemovedNotification();
00231
00233 ~CObjectRemovedNotification();
00234
00238 const CString& GetObjectName() const;
00239
00243 const siBranchFlag GetBranchFlag() const;
00244
00245
00246
00247 private:
00248
00249 CObjectRemovedNotification (const CObjectRemovedNotification &);
00250 CObjectRemovedNotification * operator&() const;
00251 CObjectRemovedNotification * operator&();
00252
00253 void* m_pImpl;
00254 };
00255
00256 }
00257
00258
00259 #endif //__XSI_VIEWNOTIF_H__