~thalexander/unity/update-fsf-address

« back to all changes in this revision

Viewing changes to dash/DashView.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:
27
27
#include <UnityCore/ConnectionManager.h>
28
28
#include <UnityCore/Scopes.h>
29
29
#include <UnityCore/GLibSource.h>
 
30
#include <UnityCore/Preview.h>
30
31
 
31
32
#include "ScopeBar.h"
32
33
#include "ScopeView.h"
33
34
#include "ApplicationStarter.h"
34
35
#include "previews/PreviewContainer.h"
35
36
#include "PreviewStateMachine.h"
36
 
#include "UnityCore/Preview.h"
37
37
 
38
38
#include "unity-shared/BackgroundEffectHelper.h"
39
39
#include "unity-shared/BGHash.h"
126
126
  bool AcceptKeyNavFocus();
127
127
  bool InspectKeyEvent(unsigned int eventType, unsigned int key_sym, const char* character);
128
128
  std::string GetName() const;
129
 
  void AddProperties(GVariantBuilder* builder);
 
129
  void AddProperties(debug::IntrospectionData&);
130
130
 
131
131
  nux::Area* KeyNavIteration(nux::KeyNavDirection direction);
132
132