static std::string FILE_EXPLORER = "nautilus";
#endif
+ //terminal program
+ #ifdef _WIN32
+ // ------ Windows
+ //TODO: implementation for windows
+ #elif __APPLE__
+ // ------ Apple
+ //TODO: implementation for apple
+ #else
+ static std::string TERMINAL = "gnome-terminal";
+ #endif
+
struct splitter
{
int openTextEditor(const std::string& file = "");
int openFileExplorer(const std::string& file = "");
+ int openFileWithCommand(const std::string& file, const std::string& command);
+ int openBBEditor();
+ int openCreaToolsTools();
+ int openTerminal();
};
#endif /* CDMUTILITIES_H_ */