Sfoglia il codice sorgente

morphunits/intuition: add methods OM_RETAIN and OM_RELEASE

Karoly Balogh 1 giorno fa
parent
commit
2ba4487a05
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      packages/morphunits/src/intuition.pas

+ 3 - 0
packages/morphunits/src/intuition.pas

@@ -2011,6 +2011,9 @@ const
   OM_ADDMEMBER = OM_Dummy + 9;  // used by various classes with lists
   OM_REMMEMBER = OM_Dummy + 10; // used by various classes with lists
 
+  OM_RETAIN    = OM_Dummy + 11; // increase a BOOPSI object's internal usage counter
+  OM_RELEASE   = OM_Dummy + 12; // decrease a BOOPSI object's internal usage counter
+
 // Parameter 'Messages' passed to methods
 type
   // OM_NEW and OM_SET