~ci-train-bot/ubuntu-app-launch/ubuntu-app-launch-ubuntu-yakkety-1956

« back to all changes in this revision

Viewing changes to libubuntu-app-launch/application.h

  • Committer: Bileto Bot
  • Author(s): Charles Kerr
  • Date: 2016-08-17 15:23:24 UTC
  • mfrom: (230.7.6 fix-click-launch-leak)
  • Revision ID: ci-train-bot@canonical.com-20160817152324-zlua5vo0kxloqrau
Fix memory leak in Click::launch()

Approved by: Ted Gould

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
    */
62
62
    static std::shared_ptr<Application> create(const AppID& appid, const std::shared_ptr<Registry>& registry);
63
63
 
 
64
    virtual ~Application() = default;
 
65
 
64
66
    /* System level info */
65
67
    /** Get the Application ID of this Application */
66
68
    virtual AppID appId() = 0;
91
93
        /** \private */
92
94
        typedef TypeTagger<IconPathTag, std::string> IconPath;
93
95
 
 
96
        virtual ~Info() = default;
 
97
 
94
98
        /** Name of the application */
95
99
        virtual const Name& name() = 0;
96
100
        /** Textual description of the application */
188
192
    class Instance
189
193
    {
190
194
    public:
 
195
        virtual ~Instance() = default;
 
196
 
191
197
        /* Query lifecycle */
192
198
        /** Check to see if the instance is currently running. The object can
193
199
            exist even after the instance has stopped running. */