~jhodapp/qtubuntu/qtubuntu_add-live-orientation

« back to all changes in this revision

Viewing changes to src/modules/application/application.cc

Added 'desktopFile' property to Application class.

Approved by PS Jenkins bot, Loïc Molinari.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#include "application.h"
5
5
#include "logging.h"
6
6
 
7
 
Application::Application(const char* name, const char* comment, const char* icon, int handle)
8
 
    : name_(name)
 
7
Application::Application(const char* desktopFile, const char* name, const char* comment, const char* icon, int handle)
 
8
    : desktopFile_(desktopFile)
 
9
    , name_(name)
9
10
    , comment_(comment)
10
11
    , icon_(icon)
11
12
    , handle_(handle)
12
13
    , focused_(false) {
13
 
  DLOG("Application::Application (this=%p, name='%s', comment='%s', icon='%s', handle=%d)",
14
 
       this, name, comment, icon, handle);
 
14
  DLOG("Application::Application (this=%p, desktopFile='%s', name='%s', comment='%s', icon='%s', handle=%d)",
 
15
       this, desktopFile, name, comment, icon, handle);
15
16
}
16
17
 
17
18
Application::~Application() {