comparison base/StorageAdviser.h @ 411:52303ec15cd2

* Permit holding Shift while dragging an instant or other edited thing, to override the initial drag resistance (for #1928943 sticky time instants) * better handling of updates during progressive decode load * ready() signal from model (used by vect)
author Chris Cannam
date Mon, 19 May 2008 17:23:11 +0000
parents aa8dbac62024
children cc27f35aa75c
comparison
equal deleted inserted replaced
410:9c7ebf2cd956 411:52303ec15cd2
76 * of, the given amount (in kilobytes) of a storage area that was 76 * of, the given amount (in kilobytes) of a storage area that was
77 * previously notified using notifyPlannedAllocation. 77 * previously notified using notifyPlannedAllocation.
78 */ 78 */
79 static void notifyDoneAllocation(AllocationArea area, int size); 79 static void notifyDoneAllocation(AllocationArea area, int size);
80 80
81 /**
82 * Force all subsequent recommendations to use the (perhaps
83 * partial) specification given here. If NoRecommendation given
84 * here, this will reset to the default free behaviour.
85 */
86 static void setFixedRecommendation(Recommendation recommendation);
87
81 private: 88 private:
82 static long m_discPlanned; 89 static long m_discPlanned;
83 static long m_memoryPlanned; 90 static long m_memoryPlanned;
91 static Recommendation m_baseRecommendation;
84 }; 92 };
85 93
86 #endif 94 #endif
87 95