![]() |
NDEVR
API Documentation
|
Finds any acceptable Image editors (MS Paint, GIMP Photoshop, etc) and allows them to be used as editors. More...
Public Member Functions | |
| ImageEditApplicationManager () | |
| Constructs an ImageEditApplicationManager and searches for available editors. | |
| const Buffer< ApplicationLauncherButtonManager * > & | buttonManagers () const |
| Returns the button managers for each discovered image editor. | |
| void | findApps () |
| Searches the system for available image editing applications. | |
| void | setImage (const TranslatedString &name, const StringView &image) |
| Sets the image to be edited and its display name. | |
Protected Member Functions | |
| void | findGIMP () |
| Searches for GIMP on the system. | |
| void | findMSPaint () |
| Searches for Microsoft Paint on the system. | |
Protected Attributes | |
| Buffer< ApplicationLauncherButtonManager * > | m_button_managers |
| Button managers for discovered editors. | |
| String | m_image |
| The current image path or identifier to edit. | |
| TranslatedString | m_name |
| The display name of the current image. | |
| Time | updated_time |
| The last modification time of the image. | |
Finds any acceptable Image editors (MS Paint, GIMP Photoshop, etc) and allows them to be used as editors.
Definition at line 14 of file ImageEditApplicationManager.h.
|
inline |
Returns the button managers for each discovered image editor.
Definition at line 31 of file ImageEditApplicationManager.h.
References m_button_managers.
| void ImageEditApplicationManager::setImage | ( | const TranslatedString & | name, |
| const StringView & | image ) |
Sets the image to be edited and its display name.
| [in] | name | The translated display name for the image. |
| [in] | image | The image path or identifier. |