Makman2 / GameBox

A virtual console designed for the Raspberry Pi!
GNU General Public License v3.0
0 stars 0 forks source link

Make Resource class use static construction methods to support exception raising #38

Open Makman2 opened 9 years ago

Makman2 commented 9 years ago

Using GLib.Initable is not possible now, there are no examples online to see how it works (especially with parameters passed via a constructor). Using a static function that constructs the objects only then, if nothing fails during processing. So this would take over #36 for now until it is sure how to implement GLib.Initable in it (or even if this is the right solution for this kind of problem).