46 I_ASSIGN(m_applicationInfoCompPtr,
"ApplicationInfo",
"Application info used to identify the application in the system",
false,
"ApplicationInfo");
47 I_ASSIGN(m_slaveApplicationCompPtr,
"Application",
"Application component to be executed",
true,
"Application");
48 I_ASSIGN_TO(m_slaveGuiApplicationCompPtr, m_slaveApplicationCompPtr,
false);
49 I_ASSIGN(m_documentManagerCompPtr,
"DocumentManager",
"Document manager used for opening of documents triggered by the shell",
false,
"DocumentManager");
50 I_ASSIGN(m_runtimeStatusProviderCompPtr,
"RuntimeStatus",
"Runtime status of the application",
false,
"RuntimeStatus");
51 I_ASSIGN_TO(m_runtimeStatusProviderModelCompPtr, m_runtimeStatusProviderCompPtr,
false);
58 int Execute(
int argc,
char** argv)
override;
71 void ShareDocumentsForOpening(
int argc,
char** argv);
72 QStringList PopDocumentsForOpening()
const;
75 void OnUpdateDocumentList();
82 MAX_DOCUMENT_PATH_LENGTH = 1024,
86 MAX_DOCUMENTS_COUNT = 100
92 struct RunningProcessInfo
95 char requestedDocuments[MAX_DOCUMENTS_COUNT][MAX_DOCUMENT_PATH_LENGTH];
102 std::unique_ptr<QSharedMemory> m_processDataPtr;
103 bool m_isAlreadyRunning;
104 QTimer m_documentUpdateTimer;
106 bool m_isApplicationInitialized;
110 I_REF(
imod::IModel, m_runtimeStatusProviderModelCompPtr);