~ted/ubuntu-app-launch/jobs-systemd

« back to all changes in this revision

Viewing changes to libubuntu-app-launch/jobs-systemd.h

  • Committer: Ted Gould
  • Date: 2016-11-14 23:00:04 UTC
  • Revision ID: ted@gould.cx-20161114230004-u7mz3blwrhjs7nci
Replace listUnits code with using our unit cache

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    guint handle_unitNew{0};     /**< GDBus signal watcher handle for the unit new signal */
74
74
    guint handle_unitRemoved{0}; /**< GDBus signal watcher handle for the unit removed signal */
75
75
 
76
 
    /* ssssssouso */
77
 
    struct UnitEntry
78
 
    {
79
 
        std::string id;
80
 
        std::string description;
81
 
        std::string loadState;
82
 
        std::string activeState;
83
 
        std::string subState;
84
 
        std::string following;
85
 
        std::string path;
86
 
        std::uint32_t jobId;
87
 
        std::string jobType;
88
 
        std::string jobPath;
89
 
    };
90
 
    std::list<UnitEntry> listUnits();
91
 
 
92
76
    struct UnitInfo
93
77
    {
94
78
        std::string appid;