API Documentation
Loading...
Searching...
No Matches
ExternalApplicationManager.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/QTModelManager.h>
4#include <NDEVR/Button.h>
5#include <NDEVR/ApplicationLauncherButtonManager.h>
6#include <NDEVR/FileFormat.h>
7namespace NDEVR
8{
9 class FactoryOptions;
11 {
12 public:
15 void setLauncher(const File& f);
16 ApplicationLauncherButtonManager* createAppLauncher();
17 bool hasActiveInstallation() const;
18 void setWriteCameras(bool write_cameras);
19 void setAdditionalArgs(const String& args);
20 Button* createLauncherButton();
21 void setupForApp();
22 virtual FactoryOptions options(bool is_read, const FactoryParameters& params) const;
23 private:
24 File m_launcher;
25 File m_active_file;
26 File m_temp_folder;
27 Time m_file_last_modified_time;
28 ApplicationLauncherButtonManager* m_button_manager;
29 QTModelManager* m_manager;
30 bool m_write_cameras = false;
31 FileFormat m_format;
32 String m_additional_args;
33 };
34}
#define NDEVR_API
Definition DLLInfo.h:67
Creates a button for launching a 3rd party application. While the application is running the button i...
Definition ApplicationLauncherButton.h:16
Definition Button.h:60
Definition ExternalApplicationManager.h:11
virtual ~ExternalApplicationManager()
Definition ExternalApplicationManager.h:14
Definition FactoryOptions.h:46
Definition FileFormat.h:38
Definition File.h:47
Definition QTModelManager.h:94
Definition String.h:40
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:54
Definition ACIColor.h:37
Definition IOFactory.h:56