NERvDN Library  0.2.0.20160420-0019
NERvLibrary - Nerve Gear Developer Network
GPBeta::OImageActionFilter Class Reference

Image action filter implementation. More...

#include <NERvHub/object/GPBeta/OImageActionFilter.h>

Inheritance diagram for GPBeta::OImageActionFilter:
NERvGear::OUnknown NERvGear::CActionFilter NERvGear::IExecute NERvGear::CUnknown NERvGear::IUnknown

Detailed Description

Image action filter implementation.

Handles NERvGear::EXEC::FILE actions which the command represents a path to the image file, provides an image preview allowing the user to open the image externally.
NERvGear::IExecute::Invoke() returns S_FALSE if success, E_FAIL if the file format is not supported.
Here's a list of images that is supported by the filter:

  • Static Images: *.png, *.jpg, *.bmp
  • Icon Images: *.ico
  • Animation Images: *.gif
Note
The filter only handle image actions when the launcher is showing.
Version
1.0.0 Initial release.
Dependences
Image Widget 1.0.0 and above
Modules
Plugins\Image Widget\MODULE.DLL

Define ID:

const NERvGear::UID GPBeta::ID_OImageActionFilter; // F8713FA2-8666-442A-9F5E-9BEA047B747A

Additional Inherited Members

- Public Member Functions inherited from NERvGear::IExecute
virtual long __stdcall Invoke (UI::IWindow *window, const wchar_t *cmd, const wchar_t *param, const wchar_t *cwd, EXEC::TYPE type, long option)=0
 Execute an action. More...
 
- Public Member Functions inherited from NERvGear::IUnknown
virtual long __stdcall QueryInterface (const UID &interfaceID, void **ppvObject)=0
 
virtual unsigned long __stdcall AddRef ()=0
 
virtual unsigned long __stdcall Release ()=0