Ignore:
Timestamp:
Aug 2, 2007, 6:20:51 PM (14 years ago)
Author:
Eugene Romanenko
Message:
  • If the filename does not have an extension or the extension is unknown, it will check file data to determine a suitable plugin (closes #43)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/plugins/lujpeg/lujpeg.cpp

    r214 r215  
    7878}
    7979
     80
    8081extern "C" LuDocument * _System createObject()
    8182{
     
    8788    return "JPG;JPEG;JPE";
    8889}
     90
     91LuCheckData   lcd = { 0, 2, (void *)"\xff\xd8" };
     92LuCheckStruct lcs = { 1, &lcd };
     93
     94extern "C" LuCheckStruct * _System getCheckStruct()
     95{
     96        return &lcs;
     97}
     98
    8999
    90100extern "C" char * _System getDescription()
Note: See TracChangeset for help on using the changeset viewer.