~thalexander/unity/update-fsf-address

« back to all changes in this revision

Viewing changes to unity-shared/WindowManager.h

Introspectable: use IntrospectionData class for collecting data from children

Now each introspectable object is called with an IntrospectionData parameter and calling one
of its methods it's the only way to fill introspection data into unity.
As bonus point, remove all the unneeded UnityCore/Variant.cpp inclusions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
 
191
191
protected:
192
192
  std::string GetName() const;
193
 
  virtual void AddProperties(GVariantBuilder* builder) = 0;
 
193
  virtual void AddProperties(debug::IntrospectionData& introspection) = 0;
194
194
 
195
195
};
196
196