00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include "docviewprec.h"
00013
00014 #ifdef __BORLANDC__
00015 #pragma hdrstop
00016 #endif
00017
00018 #include <wx/filename.h>
00019 #include "wx/general/smrtptr.h"
00020
00021 #include "wx/general/id.h"
00022
00023 #include "wx/general/gen.h"
00024 #include "wx/general/smrtptr.inl"
00025
00026
00027
00028
00029 #if (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4))
00030
00031
00032
00033 #pragma warning(disable: 4660)
00034
00035 #if defined(WXDOCVIEW_USINGDLL)
00036 template class A2DGENERALDLLEXP a2dSmrtPtr<a2dObject>;
00037 template class A2DGENERALDLLEXP a2dAutoZeroPtr<a2dObject>;
00038 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxInt16, a2dInt16Property> ;
00039 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxInt32, a2dInt32Property> ;
00040 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxUint16, a2dUint16Property> ;
00041 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxUint32, a2dUint32Property> ;
00042 template class A2DGENERALDLLEXP a2dPropertyIdTyped<bool, a2dBoolProperty> ;
00043 template class A2DGENERALDLLEXP a2dPropertyIdTyped<double, a2dDoubleProperty> ;
00044 template class A2DGENERALDLLEXP a2dPropertyIdTyped<void *, a2dVoidPtrProperty> ;
00045 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxString, a2dStringProperty> ;
00046 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxFileName, a2dFileNameProperty> ;
00047 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxColour, a2dColourProperty> ;
00048 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxArrayString, a2dArrayStringProperty>;
00049 template class A2DGENERALDLLEXP a2dPropertyIdTyped<a2dSmrtPtr<a2dObject>, a2dProperty>;
00050 template class A2DGENERALDLLEXP a2dPropertyIdTyped<a2dAutoZeroPtr<a2dObject>, a2dAutoZeroProperty>;
00051
00052 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxInt16, a2dInt16Property> ;
00053 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxInt32, a2dInt32Property> ;
00054 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxUint16, a2dUint16Property> ;
00055 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxUint32, a2dUint32Property> ;
00056 template class A2DGENERALDLLEXP a2dPropertyIdTyped<bool, a2dBoolProperty> ;
00057 template class A2DGENERALDLLEXP a2dPropertyIdTyped<double, a2dDoubleProperty> ;
00058 template class A2DGENERALDLLEXP a2dPropertyIdTyped<void *, a2dVoidPtrProperty> ;
00059 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxString, a2dStringProperty> ;
00060 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxFileName, a2dFileNameProperty> ;
00061 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxColour, a2dColourProperty> ;
00062 template class A2DGENERALDLLEXP a2dPropertyIdTyped<wxArrayString, a2dArrayStringProperty>;
00063 #endif
00064
00065 #pragma warning(default: 4660)
00066
00067 #endif // (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4))
00068
00069 #include "wx/general/gen.h"
00070
00071 a2dPropertyId::a2dPropertyId( const wxString& name, Flags flag )
00072 {
00073
00074
00075
00076 m_refcount = 0;
00077 m_name = name;
00078 m_flags = flag;
00079 }
00080
00081 a2dPropertyId::a2dPropertyId( )
00082 {
00083 m_refcount = 0;
00084 }
00085
00086 void a2dPropertyId::RemovePropertyFromObject( a2dObject *obj ) const
00087 {
00088 obj->RemoveProperty( this, true );
00089 }
00090
00091 void a2dPropertyId::SetNamedPropertyToObject( a2dObject* obj, a2dNamedProperty* value, SetFlags setflags ) const
00092 {
00093 }
00094
00095
00096