home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2001 September / PC-WELT 9-2001.ISO / software / hw / brennen / flask_src.exe / Plugins.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-06  |  1.5 KB  |  53 lines

  1. /* 
  2.  *  Plugins.h
  3.  *
  4.  *    Copyright (C) Alberto Vigata - January 2000 - ultraflask@yahoo.com
  5.  *
  6.  *  This file is part of FlasKMPEG, a free MPEG to MPEG/AVI converter
  7.  *    
  8.  *  FlasKMPEG is free software; you can redistribute it and/or modify
  9.  *  it under the terms of the GNU General Public License as published by
  10.  *  the Free Software Foundation; either version 2, or (at your option)
  11.  *  any later version.
  12.  *   
  13.  *  FlasKMPEG is distributed in the hope that it will be useful,
  14.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16.  *  GNU General Public License for more details.
  17.  *   
  18.  *  You should have received a copy of the GNU General Public License
  19.  *  along with GNU Make; see the file COPYING.  If not, write to
  20.  *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 
  21.  *
  22.  */
  23.  
  24.  
  25. #ifndef PLUGINS_H
  26. #define PLUGINS_H
  27.  
  28. #define MAX_OUT_PLUGINS  20
  29. #define OUT_PLUG_MEM     4096
  30. #include <windows.h>
  31.  
  32. struct TOutPlugin
  33. {
  34.     HINSTANCE            hinstLib;
  35.     CompileEntryFunc    CompileEntry;
  36.     int                 CompilerID;
  37.     int                 fileType;
  38.     char                ID[256];
  39.     char                *settings;
  40. };
  41.  
  42. struct TPlugins
  43. {
  44.     int         OutPluginCount;
  45.     TOutPlugin  outPlugs[MAX_OUT_PLUGINS];
  46. };
  47.  
  48. int LoadPlugins( TPlugins *plugs );
  49. int SaveSettings(TPlugins *plugs, int current, char *name);
  50. int FlushPluginSettings( TPlugins *plugs );
  51. int ClosePlugins(TPlugins *plugs);
  52.  
  53. #endif