~brandontschaefer/unity/move-pointer-barrier-to-xi-1.6.99.1

« back to all changes in this revision

Viewing changes to UnityCore/GLibWrapper.h

  • Committer: Michal Hruby
  • Date: 2012-07-04 20:16:06 UTC
  • mto: (2479.2.1 unity-annotated-icon)
  • mto: This revision was merged to the branch mainline in revision 2486.
  • Revision ID: michal.mhr@gmail.com-20120704201606-jhjp5li21mxq7vtc
Added Object::IsType method

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
#include <boost/utility.hpp>
28
28
#include <glib.h>
 
29
#include <glib-object.h>
29
30
 
30
31
namespace unity
31
32
{
56
57
  T* RawPtr() const;
57
58
  // Release ownership of the object. No unref will occur.
58
59
  T* Release();
 
60
  bool IsType(GType type) const;
59
61
 
60
62
private:
61
63
  T* object_;