~ubuntu-branches/ubuntu/wily/unity/wily

« back to all changes in this revision

Viewing changes to plugins/unityshell/src/UBusWrapper.h

  • Committer: Neil Jagdish Patel
  • Date: 2011-09-05 14:00:26 UTC
  • mto: (55.359.876 unity)
  • mto: This revision was merged to the branch mainline in revision 558.
  • Revision ID: neil.patel@canonical.com-20110905140026-hkc3myq0ka5l5kp6
Change DashController to load lazily, clean up some bits and pieces

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    typedef std::shared_ptr<UBusConnection> Ptr;
42
42
 
43
43
    UBusManager* manager;
 
44
    std::string name;
44
45
    UBusManagerCallback slot;
45
46
    guint id;
46
47
  };
47
48
  typedef std::vector<UBusConnection::Ptr> Connections;
48
49
 
49
 
 
50
50
  UBusManager();
51
51
  ~UBusManager();
52
52
 
53
 
  void RegisterInterest(std::string const& message_name,
 
53
  void RegisterInterest(std::string const& interest_name,
54
54
                        UBusManagerCallback slot);
 
55
  void UnregisterInterest(std::string const& interest_name);
55
56
  void SendMessage(std::string const& message_name, GVariant* args = NULL);
56
57
 
57
58
private: