Project

General

Profile

« Previous | Next » 

Revision aae0f355

Added by skyjake almost 11 years ago

Refactor|libdeng2|Action|Counted: Actions are reference counted

Rather than requiring duplication of Action instances, they are now
reference counted so they can be conveniently shared between items
and widgets, and multiple widgets.

Added more convenience utilities for Counted objects: RefArg and
AutoRef. The former takes care of reference passing convention in
method arguments while the latter auto-releases a reference after
its scope runs out.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences