~alexlauni/unity/introspection-search-cleanup

« back to all changes in this revision

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

  • Committer: Alex Launi
  • Date: 2011-11-08 18:21:44 UTC
  • Revision ID: alex.launi@canonical.com-20111108182144-s92diskezfihk2g4
Convert debugging code from gchar* to std::string

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
typedef struct
40
40
{
41
 
  gchar* name;
42
41
  gboolean passed;
 
42
  std::string name;
43
43
  guint ubus_handle;
44
44
  nux::TimerHandle expiration_handle;
45
45
  unity::performance::Monitor* monitor;
51
51
  Autopilot(CompScreen* screen, GDBusConnection* connection);
52
52
  ~Autopilot();
53
53
 
54
 
  void StartTest(const gchar* name);
 
54
  void StartTest(const std::string name);
55
55
 
56
56
  UBusServer* GetUBusConnection();
57
57
  GDBusConnection* GetDBusConnection();
58
58
 
59
 
  void RegisterUBusInterest(const gchar* signal, TestArgs* args);
 
59
  void RegisterUBusInterest(const std::string signal, TestArgs* args);
60
60
 
61
61
private:
62
62
  static void TestFinished(void* val);